package
0.1.0
Repository: https://github.com/goplugin/libocr.git
Documentation: pkg.go.dev

# Packages

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

# Functions

NewHost creates a new Host with the provided config, Ed25519 secret key, network listen address.

# Constants

1 GiB.
Maximum stream name length.
Maximum number of streams with another peer that can be opened on a host.

# Structs

A Host allows users to establish Streams with other peers identified by their PeerID.
No description provided by the author
Stream is an over-the-network channel between two peers.
TokenBucketParams contains the two parameters for a token bucket rate limiter.

# Interfaces

Discoverer is responsible for discovering the addresses of peers on the network.