Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASNList ¶ added in v0.8.0
type ASNList struct {
// contains filtered or unexported fields
}
func NewASNList ¶ added in v0.8.0
func NewASNList() *ASNList
type CountryList ¶ added in v0.8.0
type CountryList struct {
// contains filtered or unexported fields
}
func NewCountryList ¶ added in v0.8.0
func NewCountryList() *CountryList
func (*CountryList) GetAll ¶ added in v0.8.0
func (l *CountryList) GetAll() []string
func (*CountryList) Lookup ¶ added in v0.8.0
func (l *CountryList) Lookup(country string) bool
func (*CountryList) Remove ¶ added in v0.8.0
func (l *CountryList) Remove(countries []string) error
func (*CountryList) Upsert ¶ added in v0.8.0
func (l *CountryList) Upsert(coutries []string) error
type DomainList ¶
type DomainList struct {
// contains filtered or unexported fields
}
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 Packet ¶ added in v0.5.1
type Packet struct {
// contains filtered or unexported fields
}
func (*Packet) GetDomains ¶ added in v0.5.1
func (*Packet) GetReversedDomains ¶ added in v0.5.1
type SubnetList ¶
type SubnetList struct {
// contains filtered or unexported fields
}
func NewSubnetList ¶
func NewSubnetList() *SubnetList
func (*SubnetList) GetAll ¶
func (l *SubnetList) GetAll() []netip.Prefix
Click to show internal directories.
Click to hide internal directories.