SRV returns a slice of addresses from SRV record lookup
TestingOverrideSRVLookupFn enables a test to temporarily override the SRV lookup function.
Resolver is an interface which provides an abstract factory for net.Addr addresses. Resolvers are not thread safe.
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.