gRPC Protocol¶
Mesher support gRPC protocol
Configurations¶
To enable gRPC proxy you must set the protocol config
cse:
protocols:
grpc:
listenAddress: 127.0.0.1:40101 # or internalIP:port
How to use mesher as sidecar proxy¶
Assume you original client is
conn, err := grpc.Dial("10.0.1.1:50051",
grpc.WithInsecure(),
)
Set http_proxy:
export http_proxy=http://127.0.0.1:40100