Documentation ¶
Overview ¶
Package cardatatransfer privdes a datatransfer server that can be used to retrieve multihashes supplied via engine.Engine and supplier.CarSupplier as the provider.MultihashLister.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCarDataTransfer ¶
func StartCarDataTransfer(dt datatransfer.Manager, supplier BlockStoreSupplier) error
Types ¶
type BlockStoreSupplier ¶
type BlockStoreSupplier interface {
ReadOnlyBlockstore(contextID []byte) (supplier.ClosableBlockstore, error)
}
type ProviderDealID ¶
type ProviderDealID struct { DealID retrievaltypes.DealID Receiver peer.ID }
func (ProviderDealID) String ¶
func (p ProviderDealID) String() string
type StoreConfigurableTransport ¶
type StoreConfigurableTransport interface {
UseStore(datatransfer.ChannelID, ipld.LinkSystem) error
}
StoreConfigurableTransport defines the methods needed to configure a data transfer transport use a unique store for a given request
Click to show internal directories.
Click to hide internal directories.