2021-08-31 21:46:04 +08:00
|
|
|
package constant
|
|
|
|
|
2022-02-23 02:38:50 +08:00
|
|
|
import (
|
2023-11-03 21:01:45 +08:00
|
|
|
"github.com/metacubex/mihomo/component/geodata/router"
|
2022-02-23 02:38:50 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|