Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RouterClient ¶
type RouterClient interface { AddPortMapping( NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, ) (err error) LocalAddr() net.IP GetExternalIPAddress() ( NewExternalIPAddress string, err error, ) }
func PickRouterClient ¶
func PickRouterClient(ctx context.Context) (RouterClient, error)
Click to show internal directories.
Click to hide internal directories.