Closed
Description
Use case(s) - what problem will this feature solve?
We want to be able to log the local address in addition to the remote address from our server-side interceptors to aid in debugging.
Proposed Solution
Add LocalAddr net.Addr
to peer.Peer
.
Alternatives Considered
This information could also be made available via some other context attribute. It doesn't really matter as long as there is a way to get it.
Additional Context
This was already added to the Java implementation several years ago. grpc/grpc-java#4906