Versions in this module Expand all Collapse all v0 v0.4.0 Jun 18, 2018 v0.3.2 Jun 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) 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) 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) 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) RuleType() C.RuleType + type IPCIDR struct + func NewIPCIDR(s string, adapter string) *IPCIDR + func (g *IPCIDR) Adapter() string + func (i *IPCIDR) IsMatch(addr *C.Addr) bool + func (i *IPCIDR) RuleType() C.RuleType