Versions in this module Expand all Collapse all v1 v1.0.0 Jul 15, 2018 Changes in this version + type DomainKeyword struct + func NewDomainKeyword(keyword string, adapter string) *DomainKeyword + func (dk *DomainKeyword) Adapter() string + func (dk *DomainKeyword) IsMatch(addr *C.Addr) bool + func (dk *DomainKeyword) Payload() string + func (dk *DomainKeyword) RuleType() C.RuleType + type DomainSuffix struct + func NewDomainSuffix(suffix string, adapter string) *DomainSuffix + func (ds *DomainSuffix) Adapter() string + func (ds *DomainSuffix) IsMatch(addr *C.Addr) bool + func (ds *DomainSuffix) Payload() string + func (ds *DomainSuffix) RuleType() C.RuleType + type Final struct + func NewFinal(adapter string) *Final + func (f *Final) Adapter() string + func (f *Final) IsMatch(addr *C.Addr) bool + func (f *Final) Payload() string + func (f *Final) RuleType() C.RuleType + type GEOIP struct + func NewGEOIP(country string, adapter string) *GEOIP + func (g *GEOIP) Adapter() string + func (g *GEOIP) IsMatch(addr *C.Addr) bool + func (g *GEOIP) Payload() string + func (g *GEOIP) RuleType() C.RuleType + type IPCIDR struct + func NewIPCIDR(s string, adapter string) *IPCIDR + func (i *IPCIDR) Adapter() string + func (i *IPCIDR) IsMatch(addr *C.Addr) bool + func (i *IPCIDR) Payload() string + func (i *IPCIDR) RuleType() C.RuleType