1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2025-09-21 04:55:57 +08:00
Files
mihomo/constant/rule_extra.go

18 lines
276 B
Go
Raw Normal View History

package constant
import (
2023-11-03 21:01:45 +08:00
"github.com/metacubex/mihomo/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
}