Documentation ¶
Overview ¶
Package exchange defines the IPFS exchange interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher interface { // GetBlock returns the block associated with a given key. GetBlock(context.Context, auth.Want) (auth.AuthBlock, error) GetBlocks(context.Context, []auth.Want) (<-chan auth.AuthBlock, error) }
Fetcher is an object that can be used to retrieve blocks
Click to show internal directories.
Click to hide internal directories.