Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAvailability ¶ added in v0.0.84
func GetFreePort ¶
GetFreePort returns a free port number. If the default port is not available, it will try to find a free port, checking at most the next 1024 ports. If no free port is found, it will get a random free port. If that fails, it will return the default port. If the default port is set to 0, 8080 will be used instead.
func GetRandomFreePort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.