Versions in this module Expand all Collapse all v1 v1.101106.1 Jul 13, 2023 Changes in this version + func Map(m Interface, c <-chan struct{}, protocol string, extport, intport int, ...) + type ExtIP net.IP + func (ExtIP) AddMapping(string, int, int, string, time.Duration) error + func (ExtIP) DeleteMapping(string, int, int) error + func (n ExtIP) ExternalIP() (net.IP, error) + func (n ExtIP) String() string + type Interface interface + AddMapping func(protocol string, extport, intport int, name string, lifetime time.Duration) error + DeleteMapping func(protocol string, extport, intport int) error + ExternalIP func() (net.IP, error) + String func() string + func Any() Interface + func PMP(gateway net.IP) Interface + func Parse(spec string) (Interface, error) + func UPnP() Interface