MCPcopy
hub / github.com/grafana/dskit / ipWatcher

Struct ipWatcher

grpcutil/dns_resolver.go:152–154  ·  view source on GitHub ↗

ipWatcher watches for the name resolution update for an IP address.

Source from the content-addressed store, hash-verified

150
151// ipWatcher watches for the name resolution update for an IP address.
152type ipWatcher struct {
153 updateChan chan *Update
154}
155
156// Next returns the address resolution Update for the target. For IP address,
157// the resolution is itself, thus polling name server is unnecessary. Therefore,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected