Documentation ¶
Index ¶
- type Client
- func (c *Client) Get(ctx context.Context, x cid.Cid) error
- func (c *Client) GetBatch(ctx context.Context, cids []cid.Cid)
- func (c *Client) ImportFromCidList(ctx context.Context, dir string, provID peer.ID) error
- func (c *Client) ImportFromManifest(ctx context.Context, dir string, provID peer.ID) 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 NewFromEndpoint ¶
NewFromEndpoint returns an API client at the given endpoint
func (*Client) ImportFromCidList ¶
Click to show internal directories.
Click to hide internal directories.