Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindNPortsListen ¶ added in v0.10.8
* Find N unique open ports by calling net.Listen with ":0" to let the OS assign a port
func FindPortDial ¶ added in v0.10.8
* Iterate over port range to find an open port using net.Dial. If timeout == 0, the default timeout will be used
func FindPortListen ¶ added in v0.10.19
*
- Find an open port by calling net.Listen with ":0" to let the OS assign a port
func GetOutboundIP ¶ added in v0.12.0
Get preferred outbound ip of this machine
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.