mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 21:31:16 +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
|
|
}
|