Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasNoResolve ¶ added in v0.17.0
Types ¶
type Domain ¶ added in v0.7.0
type Domain struct {
// contains filtered or unexported fields
}
func (*Domain) ShouldResolveIP ¶ added in v1.1.0
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.17.0
func (dk *DomainKeyword) Match(metadata *C.Metadata) bool
func (*DomainKeyword) Payload ¶ added in v0.5.0
func (dk *DomainKeyword) Payload() string
func (*DomainKeyword) RuleType ¶
func (dk *DomainKeyword) RuleType() C.RuleType
func (*DomainKeyword) ShouldResolveIP ¶ added in v1.1.0
func (dk *DomainKeyword) ShouldResolveIP() bool
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.17.0
func (ds *DomainSuffix) Match(metadata *C.Metadata) bool
func (*DomainSuffix) Payload ¶ added in v0.5.0
func (ds *DomainSuffix) Payload() string
func (*DomainSuffix) RuleType ¶
func (ds *DomainSuffix) RuleType() C.RuleType
func (*DomainSuffix) ShouldResolveIP ¶ added in v1.1.0
func (ds *DomainSuffix) ShouldResolveIP() bool
type GEOIP ¶
type GEOIP struct {
// contains filtered or unexported fields
}
func (*GEOIP) ShouldResolveIP ¶ added in v1.1.0
type IPCIDR ¶
type IPCIDR struct {
// contains filtered or unexported fields
}
func (*IPCIDR) ShouldResolveIP ¶ added in v1.1.0
type IPCIDROption ¶ added in v0.17.0
type IPCIDROption func(*IPCIDR)
func WithIPCIDRNoResolve ¶ added in v0.17.0
func WithIPCIDRNoResolve(noResolve bool) IPCIDROption
func WithIPCIDRSourceIP ¶ added in v0.17.0
func WithIPCIDRSourceIP(b bool) IPCIDROption
type Match ¶ added in v0.13.0
type Match struct {
// contains filtered or unexported fields
}
func (*Match) ShouldResolveIP ¶ added in v1.1.0
type Port ¶ added in v0.14.0
type Port struct {
// contains filtered or unexported fields
}
func (*Port) ShouldResolveIP ¶ added in v1.1.0
type Process ¶ added in v1.1.0
type Process struct {
// contains filtered or unexported fields
}
func (*Process) ShouldResolveIP ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.