Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPAM ¶ added in v0.9.0
type IPAM interface {
// Allocate allocates an IP address for a peer.
Allocate(r *http.Request) netip.Prefix
// Release releases an IP address for a peer. No-op if the address is not allocated
// (returns nil).
Release(peerPrefix netip.Prefix) error
}
func NewRandomULA ¶ added in v0.9.0
func NewRandomULA() IPAM
Click to show internal directories.
Click to hide internal directories.