package
0.8.0-dev.2
Repository: https://github.com/datastream/libnetwork.git
Documentation: pkg.go.dev

# Functions

Get returns the default instance of PortAllocator.

# Constants

DefaultPortRangeEnd indicates the last port in port range.
DefaultPortRangeStart indicates the first port in port range.

# Variables

ErrAllPortsAllocated is returned when no more ports are available.
ErrUnknownProtocol is returned when an unknown protocol was specified.

# Structs

ErrPortAlreadyAllocated is the returned error information when a requested port is already being used.
No description provided by the author