grpc-proxy

module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: Apache-2.0

README

gRPC Proxy

fork from https://github.com/mwitkow/grpc-proxy

GRPC 代理 无需解码编码,代理 GRPC

使用说明



var unknownServiceHandler =  func(ctx context.Context, fullMethodName string) (context.Context, *grpc.ClientConn, error) {
    ....
}

// 必须注册这个方法才能运行
grpc.NewServer(GrpcProxyOptions(unknownServiceHandler)...)

Directories

Path Synopsis
Package proxy provides a reverse proxy handler for gRPC.
Package proxy provides a reverse proxy handler for gRPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL