mihomo/constant/rule_extra.go

18 lines
276 B
Go
Raw Permalink Normal View History

package constant
import (
"github.com/Dreamacro/clash/component/geodata/router"
)
type RuleGeoSite interface {
GetDomainMatcher() *router.DomainMatcher
}
2022-05-17 16:47:21 +08:00
type RuleGeoIP interface {
GetIPMatcher() *router.GeoIPMatcher
}
type RuleGroup interface {
GetRecodeSize() int
}