Documentation ¶
Overview ¶
Package freeport provides a helper for allocating free ports across multiple processes on the same machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Free ¶
Free returns a list of free ports from the allocated port block. It is safe to call this method concurrently. Ports have been tested to be available on 127.0.0.1 TCP but there is no guarantee that they will remain free in the future.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.