mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +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
|
|
}
|