package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.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.

# Structs

AutoNATConfig defines the AutoNAT behavior for the libp2p host.
Config describes a set of settings for a libp2p node This is *not* a stable interface.
MsMuxC is a tuple containing a multiplex transport constructor and a protocol ID.
MsSecC is a tuple containing a security transport constructor and a protocol ID.

# 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`).
No description provided by the author
SecC is a security transport constructor.
TptC is the type for libp2p transport constructors.