package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev
# Packages
Package dns implements a dns resolver to be installed as the default resolver in grpc.
Package manual defines a resolver that can be used to manually send resolved addresses to ClientConn.
Package passthrough implements a pass-through resolver.
# Functions
Get returns the resolver builder registered with the given scheme.
GetDefaultScheme gets the default scheme that will be used.
Register registers the resolver builder to the resolver map.
SetDefaultScheme sets the default scheme that will be used.
UnregisterForTesting removes the resolver builder with the given scheme from the resolver map.
# Structs
Address represents a server the client connects to.
BuildOption includes additional information for the builder to create the resolver.
ResolveNowOption includes additional information for ResolveNow.
Target represents a target for gRPC, as specified in: https://github.com/grpc/grpc/blob/master/doc/naming.md.
# Interfaces
Builder creates a resolver that will be used to watch name resolution updates.
ClientConn contains the callbacks for resolver to notify any updates to the gRPC ClientConn.
Resolver watches for the updates on the specified target.
# Type aliases
AddressType indicates the address type returned by name resolution.