Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcquirePortFromGateway ¶
func AcquirePortFromGateway(gateway UpnpGateway, port uint16) error
func GetExternalIP ¶
Types ¶
type UpnpGateway ¶
func DiscoverUPnPGateway ¶
func DiscoverUPnPGateway() (UpnpGateway, error)
Directories
¶
Path | Synopsis |
---|---|
This package provides a simple and opinionated interface to UPnP-enabled routers, allowing users to forward ports and discover their external IP address.
|
This package provides a simple and opinionated interface to UPnP-enabled routers, allowing users to forward ports and discover their external IP address. |
Click to show internal directories.
Click to hide internal directories.