package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New creates a new Noise transport using the given private key as its libp2p identity key.

# Constants

ID is the protocol ID for noise.
LengthPrefixLength is the length of the length prefix itself, which precedes all transport messages in order to delimit them.
MaxPlaintextLength is the maximum payload size.
MaxTransportMsgLength is the Noise-imposed maximum transport message length, inclusive of the MAC size (16 bytes, Poly1305 for noise-libp2p).

# Structs

Transport implements the interface sec.SecureTransport https://godoc.org/github.com/libp2p/go-libp2p-core/sec#SecureConn.