Documentation ¶
Overview ¶
Package nat implements NAT handling facilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NAT ¶
type NAT interface { // GetExternalAddress returns the external address of the gateway device. GetExternalAddress() (addr net.IP, err error) // contains filtered or unexported methods }
NAT represents an interface for upnp and natpmp
func DiscoverGateway ¶
DiscoverGateway attempts to find a gateway device.
Click to show internal directories.
Click to hide internal directories.