Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidPortRange invalid port range ErrInvalidPortRange = errors.New("Invalid port range") // ErrNoPortLeft no port left in the range ErrNoPortLeft = errors.New("No free port left") )
Functions ¶
This section is empty.
Types ¶
type PortAllocator ¶
PortAllocator describes a threads safe port list that can be allocated
Click to show internal directories.
Click to hide internal directories.