Documentation ¶
Index ¶
- type Client
- func (c *Client) Announce(ctx context.Context, provider *peer.AddrInfo, root cid.Cid) errordeprecated
- func (c *Client) Connect(ctx context.Context, hostname string) error
- func (c *Client) ConnectAddrs(ctx context.Context, maddrs ...multiaddr.Multiaddr) error
- func (c *Client) IndexContent(ctx context.Context, providerID peer.ID, privateKey p2pcrypto.PrivKey, ...) error
- func (c *Client) Register(ctx context.Context, providerID peer.ID, privateKey p2pcrypto.PrivKey, ...) error
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 (*Client) Connect ¶
Connect connects the client to the host at the location specified by hostname. The value of hostname is a host or host:port, where the host is a hostname or IP address.
func (*Client) ConnectAddrs ¶
func (*Client) IndexContent ¶
Click to show internal directories.
Click to hide internal directories.