Documentation
¶
Index ¶
- Constants
- type DomainIPSetRulesQueryStore
- type Matcher
- func (matcher *Matcher) CopyWithBakedRulesOnly() *Matcher
- func (matcher *Matcher) MatchDomain(domain string) bool
- func (matcher *Matcher) MatchIP(ip *netip.Addr) bool
- func (matcher *Matcher) SetupRulesData(rulesQueryStore *DomainIPSetRulesQueryStore) error
- func (matcher *Matcher) UnmarshalJSON(data []byte) error
Constants ¶
View Source
const (
DomainIPSetRulesDBFilename = "domain-ip-set-rules.db"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainIPSetRulesQueryStore ¶ added in v0.1.1
type DomainIPSetRulesQueryStore struct {
// contains filtered or unexported fields
}
func NewDomainIPSetRulesQueryStore ¶ added in v0.1.1
func NewDomainIPSetRulesQueryStore() (*DomainIPSetRulesQueryStore, error)
func (*DomainIPSetRulesQueryStore) Close ¶ added in v0.1.1
func (store *DomainIPSetRulesQueryStore) Close()
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func NewMatcher ¶ added in v0.1.1
func (*Matcher) CopyWithBakedRulesOnly ¶ added in v0.1.1
func (*Matcher) MatchDomain ¶
func (*Matcher) SetupRulesData ¶ added in v0.1.1
func (matcher *Matcher) SetupRulesData(rulesQueryStore *DomainIPSetRulesQueryStore) error
func (*Matcher) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.