github.com/metacubex/mihomo@v1.18.5/constant/rule_extra.go (about) 1 package constant 2 3 import ( 4 "github.com/metacubex/mihomo/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 }