MCPcopy Index your code
hub / github.com/AdguardTeam/dnsproxy / Fallback

Method Fallback

proxy/stats.go:85–87  ·  view source on GitHub ↗

Fallback returns the DNS query statistics for the fallback DNS servers. us and its items must not be modified.

()

Source from the content-addressed store, hash-verified

83// Fallback returns the DNS query statistics for the fallback DNS servers. us
84// and its items must not be modified.
85func (s *QueryStatistics) Fallback() (us []*UpstreamStatistics) {
86 return s.fallback
87}
88
89// collectQueryStats gathers the statistics from the wrapped upstreams.
90// resolver is an upstream DNS resolver that successfully resolved the request,

Callers 1

assertQueryStatsFunction · 0.80

Calls

no outgoing calls

Tested by 1

assertQueryStatsFunction · 0.64