package
0.0.0-20250128101304-ea1d59d1c274
Repository: https://github.com/magicwave-io/go-libp2p.git
Documentation: pkg.go.dev
# Functions
FullMeshConnected constructs a Mocknet with full mesh of Connections.
FullMeshLinked constructs a Mocknet with full mesh of Links.
No description provided by the author
Creates a new ratelimiter with bandwidth (in bytes/sec).
No description provided by the author
PrinterTo returns a Printer ready to write to w.
WithNPeers constructs a Mocknet with N peers.
# Structs
LinkOptions are used to change aspects of the links.
# Type aliases
LinkMap is a 3D map to give us an easy way to track links.