Documentation ¶ Index ¶ type Client func New(ctx context.Context, addr string, port uint16, listen ClientListen) *Client func (c *Client) ConnectAndSync(ctx context.Context, targetPeerId peer.ID) type ClientListen Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, addr string, port uint16, listen ClientListen) *Client func (*Client) ConnectAndSync ¶ func (c *Client) ConnectAndSync(ctx context.Context, targetPeerId peer.ID) type ClientListen ¶ type ClientListen struct { Addr string Port uint16 } Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.