Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainList ¶
type DomainList struct {
// contains filtered or unexported fields
}
WARNING: lock free, but NOT thread safe
func NewDomainList ¶
func NewDomainList() *DomainList
func (*DomainList) GetAll ¶
func (l *DomainList) GetAll() []string
func (*DomainList) Lookup ¶
func (l *DomainList) Lookup(domain string) bool
func (*DomainList) Remove ¶
func (l *DomainList) Remove(domains []string) error
func (*DomainList) Upsert ¶
func (l *DomainList) Upsert(domains []string) error
type SubnetList ¶
type SubnetList struct {
// contains filtered or unexported fields
}
WARNING: lock free, but NOT thread safe
func NewSubnetList ¶
func NewSubnetList() *SubnetList
func (*SubnetList) GetAll ¶
func (l *SubnetList) GetAll() []netip.Prefix
Click to show internal directories.
Click to hide internal directories.