package
0.1.10
Repository: https://github.com/sjtu-opennetwork/go-bitswap.git
Documentation: pkg.go.dev

# Functions

NewFromIpfsHost returns a BitSwapNetwork supported by underlying IPFS host.
No description provided by the author

# Variables

ProtocolBitswap is the current version of bitswap protocol, 1.1.0.
ProtocolBitswapNoVers is equivalent to the legacy bitswap protocol.
ProtocolBitswapOne is the prefix for the legacy bitswap protocol.

# Structs

No description provided by the author
Stats is a container for statistics about the bitswap network the numbers inside are specific to bitswap, and not any other protocols using the same underlying network.

# Interfaces

BitSwapNetwork provides network connectivity for BitSwap sessions.
MessageSender is an interface for sending a series of messages over the bitswap network.
Receiver is an interface that can receive messages from the BitSwapNetwork.
Routing is an interface to providing and finding providers on a bitswap network.

# Type aliases

No description provided by the author