package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.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.