Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { peerpb.PeerClient io.Closer }
Client defines an interface that Peer service client should implement.
type ClientBuilder ¶
type ClientBuilder interface { // Client builds a new Client that connects to the given target. Client(target string) (Client, error) }
ClientBuilder creates a new Client.
type LocalClientBuilder ¶
LocalClientBuilder is a ClientBuilder that is suitable when the gRPC connection to the Peer service is local (typically a Unix Domain Socket).
Click to show internal directories.
Click to hide internal directories.