Documentation ¶
Overview ¶
Package peer defines various peer information associated with RPCs and corresponding utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Peer ¶
type Peer struct { // Addr is the peer address. Addr net.Addr // AuthInfo is the authentication information of the transport. // It is nil if there is no transport security being used. AuthInfo credentials.AuthInfo }
Peer contains the information of the peer for an RPC.
Click to show internal directories.
Click to hide internal directories.