mihomo/constant/rule_extra.go

18 lines
276 B
Go

package constant
import (
"github.com/Dreamacro/clash/component/geodata/router"
)
type RuleGeoSite interface {
GetDomainMatcher() *router.DomainMatcher
}
type RuleGeoIP interface {
GetIPMatcher() *router.GeoIPMatcher
}
type RuleGroup interface {
GetRecodeSize() int
}