Documentation ¶
Index ¶
- type Domain
- type DomainKeyword
- func (dk *DomainKeyword) Adapter() string
- func (p *DomainKeyword) Clash() (string, bool)
- func (dk *DomainKeyword) Match(metadata *Metadata) bool
- func (dk *DomainKeyword) Payload() string
- func (p *DomainKeyword) QuanX() (string, bool)
- func (dk *DomainKeyword) RuleType() RuleType
- func (dk *DomainKeyword) ShouldFindProcess() bool
- func (dk *DomainKeyword) ShouldResolveIP() bool
- type DomainSuffix
- func (ds *DomainSuffix) Adapter() string
- func (p *DomainSuffix) Clash() (string, bool)
- func (ds *DomainSuffix) Match(metadata *Metadata) bool
- func (ds *DomainSuffix) Payload() string
- func (p *DomainSuffix) QuanX() (string, bool)
- func (ds *DomainSuffix) RuleType() RuleType
- func (ds *DomainSuffix) ShouldFindProcess() bool
- func (ds *DomainSuffix) ShouldResolveIP() bool
- type GEOIP
- func (g *GEOIP) Adapter() string
- func (p *GEOIP) Clash() (string, bool)
- func (g *GEOIP) Match(metadata *Metadata) bool
- func (g *GEOIP) Payload() string
- func (p *GEOIP) QuanX() (string, bool)
- func (g *GEOIP) RuleType() RuleType
- func (g *GEOIP) ShouldFindProcess() bool
- func (g *GEOIP) ShouldResolveIP() bool
- type IPCIDR
- func (i *IPCIDR) Adapter() string
- func (p *IPCIDR) Clash() (string, bool)
- func (i *IPCIDR) Match(metadata *Metadata) bool
- func (i *IPCIDR) Payload() string
- func (p *IPCIDR) QuanX() (string, bool)
- func (i *IPCIDR) RuleType() RuleType
- func (i *IPCIDR) ShouldFindProcess() bool
- func (i *IPCIDR) ShouldResolveIP() bool
- type Metadata
- type Port
- type PortType
- type Process
- func (p *Process) Adapter() string
- func (p *Process) Clash() (string, bool)
- func (p *Process) Match(metadata *Metadata) bool
- func (p *Process) Payload() string
- func (p *Process) QuanX() (string, bool)
- func (p *Process) RuleType() RuleType
- func (p *Process) ShouldFindProcess() bool
- func (p *Process) ShouldResolveIP() bool
- type Rule
- type RuleType
- type UserAgent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Clash ¶
func (p *DomainKeyword) Clash() (string, bool)
func (*DomainKeyword) Match ¶
func (dk *DomainKeyword) Match(metadata *Metadata) bool
func (*DomainKeyword) Payload ¶
func (dk *DomainKeyword) Payload() string
func (*DomainKeyword) QuanX ¶
func (p *DomainKeyword) QuanX() (string, bool)
func (*DomainKeyword) RuleType ¶
func (dk *DomainKeyword) RuleType() RuleType
func (*DomainKeyword) ShouldFindProcess ¶
func (dk *DomainKeyword) ShouldFindProcess() bool
func (*DomainKeyword) ShouldResolveIP ¶
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) Clash ¶
func (p *DomainSuffix) Clash() (string, bool)
func (*DomainSuffix) Match ¶
func (ds *DomainSuffix) Match(metadata *Metadata) bool
func (*DomainSuffix) Payload ¶
func (ds *DomainSuffix) Payload() string
func (*DomainSuffix) QuanX ¶
func (p *DomainSuffix) QuanX() (string, bool)
func (*DomainSuffix) RuleType ¶
func (ds *DomainSuffix) RuleType() RuleType
func (*DomainSuffix) ShouldFindProcess ¶
func (ds *DomainSuffix) ShouldFindProcess() bool
func (*DomainSuffix) ShouldResolveIP ¶
func (ds *DomainSuffix) ShouldResolveIP() bool
type GEOIP ¶
type GEOIP struct {
// contains filtered or unexported fields
}
func (*GEOIP) ShouldFindProcess ¶
func (*GEOIP) ShouldResolveIP ¶
type IPCIDR ¶
type IPCIDR struct {
// contains filtered or unexported fields
}
func (*IPCIDR) ShouldFindProcess ¶
func (*IPCIDR) ShouldResolveIP ¶
type Port ¶
type Port struct {
// contains filtered or unexported fields
}
func (*Port) ShouldFindProcess ¶
func (*Port) ShouldResolveIP ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func (*Process) ShouldFindProcess ¶
func (*Process) ShouldResolveIP ¶
type Rule ¶
type Rule interface { RuleType() RuleType Adapter() string Payload() string Clash() (string, bool) QuanX() (string, bool) }
func NewUserAgent ¶
Click to show internal directories.
Click to hide internal directories.