package
2.12.0+incompatible
Repository: https://github.com/adguardteam/adguarddns.git
Documentation: pkg.go.dev
# Functions
AndroidMetricDomainReplacement returns an empty string if fqdn is not ending with androidMetricFQDNSuffix.
NormalizeDomain returns lowercased version of the host without the final dot.
NormalizeQueryDomain returns a lowercased version of the host without the final dot, unless the host is ".", in which case it returns the unchanged host.
# Structs
PrefixNetAddr is a wrapper around netip.Prefix that makes it a [net.Addr].