The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Link-local addresses (IPv4 169.254.0.0/16, IPv6 fe80::/10) are blocked
because they include cloud metadata services and host-local adjacencies.
A small allowlist of cloud metadata hostnames is blocked outright. DNS
is case-insensitive, so the comparison lowercases the hostname before
matching — "Metadata.Google.Internal" must not bypass the blocklist.
Placing this in a neutral package lets both pkg/daemon and pkg/registry
(which cannot import pkg/daemon) share exactly one implementation.
Validate returns nil if rawURL is an acceptable http(s) endpoint that does
not point at a link-local or well-known cloud-metadata target. Callers are
responsible for deciding whether an empty URL (which returns an error here)
should be interpreted as "disable" before calling.