# Functions
NewP2P creates new P2P struct.
# Structs
ListenerInfo holds information on a p2p listener.
ListenerRegistry is a collection of local application protocol listeners.
P2P structure holds information on currently running streams/listeners.
P2PListener holds information on a listener.
StreamInfo holds information on active incoming and outgoing p2p streams.
StreamRegistry is a collection of active incoming and outgoing protocol app streams.
# Interfaces
Listener wraps stream handler into a listener.