mihomo/constant/matcher.go
wwqgtxx 4fecf68b8b
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Has been cancelled
chore: add sourceGeoIP and sourceIPASN to metadata
2024-08-28 12:25:45 +08:00

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
}