Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNormalizedJSON ¶
GenerateNormalizedJSON generates a normalized JSON from the string given to the function. Useful to compare JSON contents that may have differences due to formatting. It returns nil in case of invalid JSON.
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.
Types ¶
This section is empty.