cachedQueryStatistics returns the DNS query statistics for cached queries.
(addr string)
| 66 | |
| 67 | // cachedQueryStatistics returns the DNS query statistics for cached queries. |
| 68 | func cachedQueryStatistics(addr string) (s *QueryStatistics) { |
| 69 | return &QueryStatistics{ |
| 70 | main: []*UpstreamStatistics{{ |
| 71 | Address: addr, |
| 72 | IsCached: true, |
| 73 | }}, |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | // Main returns the DNS query statistics for the upstream DNS servers. us and |
| 78 | // its items must not be modified. |
no outgoing calls
no test coverage detected
searching dependent graphs…