package
0.41.0
Repository: https://github.com/libp2p/go-libp2p.git
Documentation: pkg.go.dev

# Functions

ConnComplement returns the other end of the given connection.
FullMeshConnected constructs a Mocknet with full mesh of Connections.
FullMeshLinked constructs a Mocknet with full mesh of Links.
Creates a new RateLimiter with bandwidth (in bytes/sec).
PrinterTo returns a Printer ready to write to w.
StreamComplement returns the other end of the given stream.
WithNPeers constructs a Mocknet with N peers.

# Variables

# Structs

LinkOptions are used to change aspects of the links.
A RateLimiter is used by a link to determine how long to wait before sending data given a bandwidth cap.

# Interfaces

Link represents the **possibility** of a connection between two peers.
Printer lets you inspect things :).

# Type aliases

LinkMap is a 3D map to give us an easy way to track links.