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