Documentation ¶
Index ¶
- type API
- func (a *API) ClientFindData(ctx context.Context, root cid.Cid) ([]api.QueryOffer, error)
- func (a *API) ClientGetDealInfo(ctx context.Context, d cid.Cid) (*api.DealInfo, error)
- func (a *API) ClientHasLocal(ctx context.Context, root cid.Cid) (bool, error)
- func (a *API) ClientImport(ctx context.Context, path string) (cid.Cid, error)
- func (a *API) ClientImportLocal(ctx context.Context, f io.Reader) (cid.Cid, error)
- func (a *API) ClientListDeals(ctx context.Context) ([]api.DealInfo, error)
- func (a *API) ClientListImports(ctx context.Context) ([]api.Import, error)
- func (a *API) ClientQueryAsk(ctx context.Context, p peer.ID, miner address.Address) (*types.SignedStorageAsk, error)
- func (a *API) ClientRetrieve(ctx context.Context, order api.RetrievalOrder, path string) error
- func (a *API) ClientStartDeal(ctx context.Context, data cid.Cid, addr address.Address, miner address.Address, ...) (*cid.Cid, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { fx.In full.ChainAPI full.StateAPI full.WalletAPI paych.PaychAPI SMDealClient storagemarket.StorageClient RetDiscovery retrievalmarket.PeerResolver Retrieval retrievalmarket.RetrievalClient Chain *store.ChainStore LocalDAG dtypes.ClientDAG Blockstore dtypes.ClientBlockstore Filestore dtypes.ClientFilestore `optional:"true"` }
func (*API) ClientFindData ¶
func (*API) ClientGetDealInfo ¶
func (*API) ClientHasLocal ¶
func (*API) ClientImport ¶
func (*API) ClientImportLocal ¶
func (*API) ClientListDeals ¶
func (*API) ClientListImports ¶
func (*API) ClientQueryAsk ¶
func (*API) ClientRetrieve ¶
Click to show internal directories.
Click to hide internal directories.