package
0.0.0-20230212185441-f345521cb9c9
Repository: https://github.com/mwitkow/grpc-proxy.git
Documentation: pkg.go.dev
# Functions
Codec returns a proxying grpc.Codec with the default protobuf codec as parent.
CodecWithParent returns a proxying grpc.Codec with a user provided codec as parent.
DefaultDirector returns a very simple forwarding StreamDirector that forwards all calls.
DefaultProxyOpt returns an grpc.UnknownServiceHandler with a DefaultDirector.
NewProxy sets up a simple proxy that forwards all requests to dst.
RegisterService sets up a proxy handler for a particular gRPC service and method.
TransparentHandler returns a handler that attempts to proxy all requests that are not registered in the server.
# Type aliases
StreamDirector returns a gRPC ClientConn to be used to forward the call to.