MCPcopy
hub / github.com/google/seesaw / DNSChecker

Struct DNSChecker

healthcheck/dns.go:46–50  ·  view source on GitHub ↗

DNSChecker contains configuration specific to a DNS healthcheck.

Source from the content-addressed store, hash-verified

44
45// DNSChecker contains configuration specific to a DNS healthcheck.
46type DNSChecker struct {
47 Target
48 Question dns.Question
49 Answer string
50}
51
52// NewDNSChecker returns an initialised DNSChecker.
53func NewDNSChecker(ip net.IP, port int) *DNSChecker {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected