bitswap

package
v0.0.0-...-de8e8a8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitswapExchange

type BitswapExchange struct {
	// contains filtered or unexported fields
}

func NewBitswaExchange

func NewBitswaExchange(h host.Host, lsys *ipld.LinkSystem) *BitswapExchange

func (*BitswapExchange) Close

func (be *BitswapExchange) Close()

func (*BitswapExchange) Code

func (*BitswapExchange) Code() multicodec.Code

func (*BitswapExchange) RequestData

func (be *BitswapExchange) RequestData(ctx context.Context, root ipld.Link, selector ipld.Node, routingProvider interface{}, routingPayload interface{}) <-chan exchange.EventData

Jump to

Keyboard shortcuts

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