Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailablePort ¶
GetAvailablePort returns an available port in the range [min, max]
func IsPortAvailable ¶
IsPortAvailable checks if a port is available for listening
func IsPortAvailableWithInfo ¶
IsPortAvailableWithInfo checks if a port is available and returns detailed info
func ResolveHost ¶
ResolveHost resolves the host to an IP address or returns it as-is if it's already an IP or localhost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.