mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-12-22 23:57:26 +08:00
12 lines
163 B
Go
12 lines
163 B
Go
package constant
|
|
|
|
import "net/netip"
|
|
|
|
type DomainMatcher interface {
|
|
MatchDomain(domain string) bool
|
|
}
|
|
|
|
type IpMatcher interface {
|
|
MatchIp(ip netip.Addr) bool
|
|
}
|