grpc-proxy
grpc-proxy copied to clipboard
to make proxy.StreamDirector return an array of grpcClientConnection
currently the proxy.StreamDirector returns single grpc.ClientConn. what if i need to return multiple grpc ClientConn at once. this support needs to be added.
current supported:
type StreamDirector func(ctx context.Context, fullMethodName string) (context.Context, *grpc.ClientConn, error)
Required type StreamDirector func(ctx context.Context, fullMethodName string) (context.Context, []*grpc.ClientConn, error)
@mwitkow
why we need to return multiple connections at once ?