Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableLocalAddress ¶
GetAvailableLocalAddress finds an available local port 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 GetAvailablePort ¶
GetAvailablePort finds an available local port and returns 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 NewTemporaryDirectory ¶
NewTemporaryDirectory creates a new temporary directory that can be used within the scope of test or benchmark and the directory will be cleaned up with all files contained within directory.
Types ¶
This section is empty.