package
3.0.9+incompatible
Repository: https://github.com/dms3-p2p/go-p2p-swarm.git
Documentation: pkg.go.dev
# Functions
DivulgeAddresses adds swarm a's addresses to swarm b's peerstore.
GenSwarm generates a new test swarm.
GenUpgrader creates a new connection upgrader for use with this swarm.
# Variables
OptDialOnly prevents the test swarm from listening.
OptDisableReuseport disables reuseport in this test swarm.
# Type aliases
Option is an option that can be passed when constructing a test swarm.