Documentation
¶
Overview ¶
Utilities for working with networks and network accessories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWaitForOpenConnectionTimeout = 5 * time.Second
View Source
var WaitForOpenCheckInterval = time.Second
Functions ¶
func EphemeralPort ¶ added in v1.5.56
Retrieve an open ephemeral port.
func ExpandPort ¶ added in v1.5.57
Takes an address in the form of "host:port", looks for port zero (e.g: ":0"), and gets an ephemeral local port and returns that address (e.g.: ":41327").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.