mihomo/constant/rule_extra.go
2023-12-17 00:01:01 +08:00

18 lines
276 B
Go

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