clash/constant/rule_extra.go

18 lines
276 B
Go
Raw Normal View History

package constant
import (
2023-11-03 13:01:45 +00:00
"github.com/metacubex/mihomo/component/geodata/router"
)
type RuleGeoSite interface {
GetDomainMatcher() router.DomainMatcher
}
2022-05-17 08:47:21 +00:00
type RuleGeoIP interface {
GetIPMatcher() *router.GeoIPMatcher
}
type RuleGroup interface {
GetRecodeSize() int
}