mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-07 06:49:55 +00:00
chore: add sourceGeoIP and sourceIPASN to metadata
This commit is contained in:
11
constant/matcher.go
Normal file
11
constant/matcher.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package constant
|
||||
|
||||
import "net/netip"
|
||||
|
||||
type DomainMatcher interface {
|
||||
MatchDomain(domain string) bool
|
||||
}
|
||||
|
||||
type IpMatcher interface {
|
||||
MatchIp(ip netip.Addr) bool
|
||||
}
|
||||
Reference in New Issue
Block a user