package
0.0.0-20250128101304-ea1d59d1c274
Repository: https://github.com/magicwave-io/go-libp2p.git
Documentation: pkg.go.dev
# Functions
MuxerConstructor creates a multiplex constructor from the passed parameter using reflection.
SecurityConstructor creates a security constructor from the passed parameter using reflection.
TransportConstructor uses reflection to turn a function that constructs a transport into a TptC.
# Type aliases
AddrsFactory is a function that takes a set of multiaddrs we're listening on and returns the set of multiaddrs we should advertise to the network.
MuxC is a stream multiplex transport constructor.
NATManagerC is a NATManager constructor.
Option is a libp2p config option that can be given to the libp2p constructor (`libp2p.New`).
SecC is a security transport constructor.
TptC is the type for libp2p transport constructors.