package
0.0.0-20231119154133-39dd9054d9f4
Repository: https://github.com/blockmaster-labs/go-blcm.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.
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
ExtIP assumes that the local machine is reachable on the given external IP address, and that any required ports were mapped manually.