package
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package unix implements a resolver for unix targets.

# Functions

BuildWithClientConn append cc to Build.
Get returns the resolver builder registered with the given scheme.
No description provided by the author
GetDefaultScheme gets the default scheme that will be used.
NewErrPicker returns a Picker that always returns err on Pick().
No description provided by the author
No description provided by the author
ParseTarget uses RFC 3986 semantics to parse the given target into a resolver.Target struct containing scheme, authority and endpoint.
No description provided by the author
Register makes a database driver available by the provided name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResolveOneAddrOptionWithPickerOption append PickOption to picker.
Resolvers returns a sorted list of the names of the registered resolvers.
SetDefaultScheme sets the default scheme that will be used.
WithBuildClientConn sets ClientConn in Build.
WithresolveOneAddrPicker appends Picker in resolveOneAddr.
WithresolveOneAddrPickerReplace sets Picker in resolveOneAddr.

# Variables

ErrBadResolverState may be returned by UpdateState to indicate a problem with the provided name resolver data.
ErrNoAddrAvailable indicates no Addr is available for pick().

# Structs

Address represents a server the client connects to.
Build includes additional information for the builder to create the resolver.
DoneInfo contains additional information for done.
EmptyBuildOption does not alter the configuration.
EmptyPickOption does not alter the configuration.
EmptyResolveAddrOption does not alter the configuration.
EmptyResolveDoneOption does not alter the configuration.
EmptyResolveNowOption does not alter the configuration.
EmptyResolveOneAddrOption does not alter the configuration.
Pick includes additional information for Pick.
State contains the current Resolver state relevant to the ClientConn.
No description provided by the author

# Interfaces

Builder is the interface that must be implemented by a database driver.
A BuildOption sets options.
ClientConn contains the callbacks for resolver to notify any updates to the gRPC ClientConn.
Picker is used to pick an Address.
A PickOption sets options.
A ResolveAddrOption sets options.
A ResolveDoneOption sets options.
ResolveDoneResolver extends Resolver with ResolveDone.
A ResolveNowOption sets options.
A ResolveOneAddrOption sets options.
Resolver watches for the updates on the specified target.

# Type aliases

BuildOptionFunc wraps a function that modifies Build into an implementation of the BuildOption interface.
The PickerFunc type is an adapter to allow the use of ordinary functions as Picker handlers.
PickOptionFunc wraps a function that modifies Pick into an implementation of the PickOption interface.
ResolveAddrOptionFunc wraps a function that modifies resolveAddr into an implementation of the ResolveAddrOption interface.
ResolveDoneOptionFunc wraps a function that modifies resolveDone into an implementation of the ResolveDoneOption interface.
ResolveNowOptionFunc wraps a function that modifies resolveNow into an implementation of the ResolveNowOption interface.
ResolveOneAddrOptionFunc wraps a function that modifies resolveOneAddr into an implementation of the ResolveOneAddrOption interface.