package
1.1.7
Repository: https://github.com/core-coin/go-core.git
Documentation: pkg.go.dev

# Functions

Any returns a port mapper that tries to discover any supported mechanism on the local network.
Map adds a port mapping on m and keeps it alive until c is closed.
Parse parses a NAT interface description.
PMP returns a port mapper that uses NAT-PMP.
RequestAutoIP returns external ip address of a host machine.
UPnP returns a port mapper that uses UPnP.

# Interfaces

An implementation of nat.Interface can map local ports to ports accessible from the Internet.

# Type aliases

AutoIP assumes that the local machine is reachable on the given external IP address, and that any required ports were mapped manually.
ExtIP assumes that the local machine is reachable on the given external IP address, and that any required ports were mapped manually.