Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableLocalAddress ¶
GetAvailableLocalAddress finds an available local port on tcp network and returns an endpoint describing it. The port is available for opening when this function returns provided that there is no race by some other code to grab the same port immediately.
func GetAvailableLocalNetworkAddress ¶ added in v0.57.2
GetAvailableLocalNetworkAddress finds an available local port on specified network and returns an endpoint describing it. The port is available for opening when this function returns provided that there is no race by some other code to grab the same port immediately.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.