Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver is an interface which provides an abstract factory for net.Addr addresses. Resolvers are not thread safe.
func NewResolver ¶
NewResolver takes an address and returns a new resolver.
func NewResolverFromAddress ¶
NewResolverFromAddress takes a net.Addr and constructs a resolver.
func NewResolverFromUnresolvedAddr ¶
func NewResolverFromUnresolvedAddr(addr util.UnresolvedAddr) (Resolver, error)
NewResolverFromUnresolvedAddr takes a util.UnresolvedAddr and constructs a resolver.
Click to show internal directories.
Click to hide internal directories.