Documentation ¶
Index ¶
- func CleanDuration(d time.Duration) time.Duration
- func CleanName(name string) string
- func ReportBlocked(req *dns.Msg, be *shared.BlockEntry)
- func ReportCached(req *dns.Msg, res *dns.Msg)
- func ReportError(req *dns.Msg, res *dns.Msg, rtt time.Duration, err error)
- func ReportSuccess(req *dns.Msg, res *dns.Msg, rtt time.Duration, server string)
- func RequestPct(requests uint64, total uint64) string
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportBlocked ¶
func ReportBlocked(req *dns.Msg, be *shared.BlockEntry)
func ReportSuccess ¶
func RequestPct ¶ added in v0.4.5
Types ¶
Click to show internal directories.
Click to hide internal directories.