mihomo/constant/rule_extra.go

18 lines
277 B
Go
Raw Permalink 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
}