cardatatransfer

package
v0.15.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0, MIT Imports: 17 Imported by: 0

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

func TransportFromContextID

func TransportFromContextID(contextID []byte) (metadata.Protocol, 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

Directories

Path Synopsis
Package stores is copy pasted from go-fil-markets stores package - there is no novel code here.
Package stores is copy pasted from go-fil-markets stores package - there is no novel code here.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL