# Functions
NewDialContext returns a DialHandler that dials addrs and returns the first successful connection.
ResolveDialContext returns a DialHandler that uses addresses resolved from u using resolver.
# Constants
ErrNoResolvers is returned when zero resolvers specified.
NetworkIP is a network type for both address families.
NetworkIP4 is a network type for IPv4 address family.
NetworkIP6 is a network type for IPv6 address family.
NetworkTCP is a network type for TCP connections.
NetworkUDP is a network type for UDP connections.
# Interfaces
Resolver resolves the hostnames to IP addresses.
# Type aliases
ConsequentResolver is a slice of resolvers that are queried in order until the first successful non-empty response, as opposed to just successful response requirement in [ParallelResolver].
DialHandler is a dial function for creating unencrypted network connections to the upstream server.
Network is a network type for use in [Resolver]'s methods.
ParallelResolver is a slice of resolvers that are queried concurrently.
StaticResolver is a resolver which always responds with an underlying slice of IP addresses regardless of host and network.