Ravi,

In go, the client address is part of the peer struct in the RPC context 
(https://godoc.org/google.golang.org/grpc/peer#Peer).

Use https://godoc.org/google.golang.org/grpc/peer#FromContext to get peer 
out from the context.

Thanks,
Menghan

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/7f7797bb-3970-4b62-8e5a-eaa7e8f13e18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to