github.com/kelleygo/clashcore@v1.0.2/constant/rule_extra.go (about) 1 package constant 2 3 import ( 4 "github.com/kelleygo/clashcore/component/geodata/router" 5 ) 6 7 type RuleGeoSite interface { 8 GetDomainMatcher() router.DomainMatcher 9 } 10 11 type RuleGeoIP interface { 12 GetIPMatcher() *router.GeoIPMatcher 13 } 14 15 type RuleGroup interface { 16 GetRecodeSize() int 17 }