MCPcopy
hub / github.com/nextdns/nextdns / DHCP

Struct DHCP

discovery/dhcp.go:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31type DHCP struct {
32 OnError func(err error)
33
34 mu sync.RWMutex
35 macs map[string][]string
36 addrs map[string][]string
37 names map[string][]string
38 fileInfo fileInfo
39 expires time.Time
40}
41
42func (r *DHCP) refreshLocked() {
43 now := time.Now()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected