package
0.4.11
Repository: https://github.com/897243839/go-libipfs.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
根据压缩算法类型进行解压缩.
FromPBReader generates a new Bitswap message from a gogo-protobuf reader.
FromNet generates a new BitswapMessage from incoming data on an io.Reader.
获取压缩算法类型.
lz4解压缩.
No description provided by the author
New returns a new, empty bitswap message.
snappy解压缩.
No description provided by the author
zip解压缩.
No description provided by the author
zlib解压缩.
No description provided by the author
Zstd解压缩.
No description provided by the author

# Constants

lz4压缩算法.
snappy压缩算法.
未知压缩算法.
zip压缩算法.
zlib压缩算法.
zstd压缩算法.

# Variables

No description provided by the author

# Structs

BlockPresence represents a HAVE / DONT_HAVE for a given Cid.
Entry
Entry is a wantlist entry in a Bitswap message, with flags indicating - whether message is a cancel - whether requester wants a DONT_HAVE message - whether requester wants a HAVE message (instead of the block).

# Interfaces

BitSwapMessage is the basic interface for interacting building, encoding, and decoding messages sent on the BitSwap protocol.
Exportable is an interface for structures than can be encoded in a bitswap protobuf.

# Type aliases

压缩算法类型.