Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternetGatewayDevice ¶
type InternetGatewayDevice interface { InternalIP() (string, error) ExternalIP() (string, error) AddPortForward(internalPort, externalPort uint16, description, protocol string) error DeletePortForward(externalPort uint16, protocol string) error GetPortMappedList(index uint16) (uint16, error) }
func Discover ¶
func Discover() (InternetGatewayDevice, error)
func DiscoverByRouterURL ¶
func DiscoverByRouterURL(rawUrl string) (InternetGatewayDevice, error)
Click to show internal directories.
Click to hide internal directories.