package
4.0.0+incompatible
Repository: https://github.com/doitroot/external-storage.git
Documentation: pkg.go.dev

# Functions

NewMinMaxAllocator creates a new MinMaxAllocator.

# Variables

ErrConflict the number was already allocated.
ErrInternal something is wrong internally.
ErrInvalidRange the range is invalid.
ErrNotFound the number was never allocated.
ErrOutOfRange the number is out of range.
ErrRangeFull the range is full.

# Structs

MinMaxAllocator is an allocator over a range [min-max].

# Interfaces

Rangeable is an Interface that can adjust its min/max range.