Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasNoResolve ¶ added in v0.20.1
Types ¶
type Domain ¶ added in v0.7.0
type Domain struct {
// contains filtered or unexported fields
}
func (*Domain) NoResolveIP ¶ added in v0.20.1
type DomainKeyword ¶
type DomainKeyword struct {
// contains filtered or unexported fields
}
func NewDomainKeyword ¶
func NewDomainKeyword(keyword string, adapter string) *DomainKeyword
func (*DomainKeyword) Adapter ¶
func (dk *DomainKeyword) Adapter() string
func (*DomainKeyword) Match ¶ added in v0.20.1
func (dk *DomainKeyword) Match(metadata *C.Metadata) bool
func (*DomainKeyword) NoResolveIP ¶ added in v0.20.1
func (dk *DomainKeyword) NoResolveIP() bool
func (*DomainKeyword) Payload ¶ added in v0.5.0
func (dk *DomainKeyword) Payload() string
func (*DomainKeyword) RuleType ¶
func (dk *DomainKeyword) RuleType() C.RuleType
type DomainSuffix ¶
type DomainSuffix struct {
// contains filtered or unexported fields
}
func NewDomainSuffix ¶
func NewDomainSuffix(suffix string, adapter string) *DomainSuffix
func (*DomainSuffix) Adapter ¶
func (ds *DomainSuffix) Adapter() string
func (*DomainSuffix) Match ¶ added in v0.20.1
func (ds *DomainSuffix) Match(metadata *C.Metadata) bool
func (*DomainSuffix) NoResolveIP ¶ added in v0.20.1
func (ds *DomainSuffix) NoResolveIP() bool
func (*DomainSuffix) Payload ¶ added in v0.5.0
func (ds *DomainSuffix) Payload() string
func (*DomainSuffix) RuleType ¶
func (ds *DomainSuffix) RuleType() C.RuleType
type GEOIP ¶
type GEOIP struct {
// contains filtered or unexported fields
}
func (*GEOIP) NoResolveIP ¶ added in v0.20.1
type IPCIDR ¶
type IPCIDR struct {
// contains filtered or unexported fields
}
func (*IPCIDR) NoResolveIP ¶ added in v0.20.1
type IPCIDROption ¶ added in v0.20.1
type IPCIDROption func(*IPCIDR)
func WithIPCIDRNoResolve ¶ added in v0.20.1
func WithIPCIDRNoResolve(noResolve bool) IPCIDROption
func WithIPCIDRSourceIP ¶ added in v0.20.1
func WithIPCIDRSourceIP(b bool) IPCIDROption
type Match ¶ added in v0.20.1
type Match struct {
// contains filtered or unexported fields
}
func (*Match) NoResolveIP ¶ added in v0.20.1
Click to show internal directories.
Click to hide internal directories.