Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageClient ¶
type StorageClient struct {
	PeerStore peerstore.Peerstore
	// contains filtered or unexported fields
}
    StorageClient starts storage deals with Boost over libp2p
func NewStorageClient ¶
func NewStorageClient(addr address.Address, fullNodeApi v1api.FullNode) (*StorageClient, error)
func (*StorageClient) DealStatus ¶
func (c *StorageClient) DealStatus(ctx context.Context, providerID peer.ID, dealUUid uuid.UUID) (*types.DealStatusResponse, error)
func (*StorageClient) StorageDeal ¶
func (c *StorageClient) StorageDeal(ctx context.Context, params types.DealParams, providerID peer.ID) (*api.ProviderDealRejectionInfo, error)
 Click to show internal directories. 
   Click to hide internal directories.