package
0.1.2
Repository: https://github.com/threefoldtech/zosbase.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewAllocator return a PortAllocator.

# Variables

ErrNoFreePort is returned when trying to reserve a port but all the the port of the range have been already reserved.

# Structs

Allocator implements the PortAllocator interface.
PortRange hold the beginging and end of a range of port a PortAllocator can reserve.

# Interfaces

PortAllocator is the interface that defines the behavior to reserve a port in a specific network namespace.