PeerCallOption is a CallOption for collecting the identity of the remote peer. The peer field will be populated *after* the RPC completes. # Experimental Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.
| 321 | // Notice: This type is EXPERIMENTAL and may be changed or removed in a |
| 322 | // later release. |
| 323 | type PeerCallOption struct { |
| 324 | PeerAddr *peer.Peer |
| 325 | } |
| 326 | |
| 327 | func (o PeerCallOption) before(*callInfo) error { return nil } |
| 328 | func (o PeerCallOption) after(_ *callInfo, attempt *csAttempt) { |
nothing calls this directly
no outgoing calls
no test coverage detected