package
0.0.32
Repository: https://github.com/make-os/kit.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

MakeCID creates a content ID.
MakeHaveMsg creates a 'HAVE' message.
MakeKey returns a key for storing an object.
MakeNopeMsg creates a 'NOPE' message.
MakeSendMsg creates a 'SEND' message - Format: SEND <reponame> <20 bytes hash> - <reponame>: Length varies but not more than MaxResourceNameLength.
MakeWantMsg creates a 'WANT' message.
ParseObjectKeyToHex parses an object key to an hex-encoded version.
ParseWantOrSendMsg parses a 'WANT/SEND' message.
ReadWantOrSendMsg reads WANT or SEND message from the reader.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

GetAncestorArgs contain arguments for GetAncestors method.
ProviderInfo contains information about a provider.

# Interfaces

No description provided by the author
AnnouncerService is like Announcer but exposes limited methods.
DHT represents a distributed hash table.
ProviderTracker describes a structure for tracking provider performance.
No description provided by the author
Streamer provides an interface for providing objects and fetching various object types from the underlying DHT network.

# Type aliases

CheckFunc describes a function for checking a key.