Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/jhump/grpctunnel

Package grpctunnel provides APIs to support tunneling of gRPC services: carrying gRPC calls over a gRPC stream. A tunnel is a gRPC stream on which you can send other RPC requests, in either direction. A "forward" tunnel is a tunnel in the normal direction, where the gRPC client initiates RPCs by sending requests, and the gRPC server acts on them and responses. Forward tunnels allow a client to pin RPCs to a single server since they are all sent over a single stream. Forward tunnels work like so: A "reverse" tunnel is a tunnel in the opposite direction of normal: the gRPC server is the actor that initiates RPCs by sending requests, and a gRPC client handles these requests and sends responses. Reverse tunnels allow for interesting "server push" scenarios, where the pushed messages can be more advanced than "fire and forget" but actually need responses/acknowledgements. Reverse tunnels work like so: The TunnelServiceHandler is what implements the tunneling protocol. You can register the RPC services available for forward tunnels with it. You can also use it to access reverse tunnels, for the server to send RPCs back to the client. See NewTunnelServiceHandler. This is the value that is registered with a *grpc.Server to expose the Tunnel service.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/jhump/grpctunnel
Keywords: go, golang, grpc, tunneling
License: Apache-2.0
Latest release: 8 months ago
First release: over 1 year ago
Namespace: github.com/jhump
Stars: 31 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...