pool

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedAddressFamily = errors.New("unsupported address family")
	ErrBadOrder                 = errors.New("end of range is less than start of range")
)

Functions

This section is empty.

Types

type AddressPool

type AddressPool interface {
	GetRandom() netip.Addr
}

func New

func New(start, end netip.Addr) (AddressPool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL