MCPcopy Index your code
hub / github.com/screego/server / DNS

Struct DNS

config/ipdns/dns.go:14–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type DNS struct {
15 sync.Mutex
16
17 DNS string
18 Resolver *net.Resolver
19 Domain string
20
21 refetch time.Time
22 v4 net.IP
23 v6 net.IP
24 err error
25}
26
27func (s *DNS) Get() (net.IP, net.IP, error) {
28 s.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected