Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAvailable ¶
FindAvailable finds an available port starting from the given address. It returns the available address and a list of ports that were tried but in use. The addr parameter should be in the format ":port" (e.g., ":3000").
func FindAvailablePort ¶
FindAvailablePort is a convenience function that takes an int port and returns the available port number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.