Closed nogolang closed 2 days ago
grpcClient, err := grpc.DialInsecure( context.Background(), grpc.WithEndpoint("discovery:///user-service"), grpc.WithDiscovery(etcdRegister),
How to get the real ip+port after load balancing?
selector.FromPeerContext
thanks
How to get the real ip+port after load balancing?