Documentation ¶
Index ¶
- type Client
- func (c *Client) Announce(ctx context.Context, provider *peer.AddrInfo, root cid.Cid) 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
}
Client is an http client for the indexer ingest API
func New ¶
func New(baseURL string, options ...httpclient.Option) (*Client, error)
New creates a new ingest http Client
func (*Client) IndexContent ¶
Click to show internal directories.
Click to hide internal directories.