Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { chat.Chat_StreamClient // contains filtered or unexported fields }
Client used to open a stream connection with another peer.
type InsecureClient ¶
type InsecureClient struct { greeter.GreeterClient // contains filtered or unexported fields }
InsecureClient used to open an insecure connection with another peer.
func InsecureConnect ¶
func InsecureConnect( ctx context.Context, log *logger.Logger, client *peers.Peer, ) (*InsecureClient, error)
InsecureConnect connects to a client.
Click to show internal directories.
Click to hide internal directories.