MCPcopy
hub / github.com/nextdns/nextdns / Source

Interface Source

discovery/resolver.go:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7type Resolver []Source
8
9type Source interface {
10 Name() string
11 Visit(func(name string, addrs []string))
12 LookupAddr(addr string) []string
13 LookupHost(addr string) []string
14}
15
16type sourceMAC interface {
17 LookupMAC(mac string) []string

Callers 8

cfgFunction · 0.65
DNSFunction · 0.65
writeConfigFileFunction · 0.65
getRootCAsFunction · 0.65
clientListLockedMethod · 0.65
VisitMethod · 0.65
ReadMethod · 0.65
WriteMethod · 0.65

Implementers 8

DHCPdiscovery/dhcp.go
Firewalladiscovery/firewalla_linux.go
MDNSdiscovery/mdns.go
Ubiosdiscovery/ubios_other.go
Merlindiscovery/merlin_other.go
DNSdiscovery/dns.go
Hostsdiscovery/hosts.go
Dummydiscovery/dummy.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…