package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewResolver takes an address and returns a new resolver.
NewResolverFromAddress takes a net.Addr and constructs a resolver.
NewResolverFromUnresolvedAddr takes a util.UnresolvedAddr and constructs a resolver.
SRV returns a slice of addresses from SRV record lookup.
TestingOverrideSRVLookupFn enables a test to temporarily override the SRV lookup function.
# Interfaces
Resolver is an interface which provides an abstract factory for net.Addr addresses.