package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.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 by grpc.Dial.
NewAddressMap creates a new AddressMap.
NewEndpointMap creates a new EndpointMap.
Register registers the resolver builder to the resolver map.
SetDefaultScheme sets the default scheme that will be used.
ValidateEndpoints validates endpoints from a petiole policy's perspective.

# Structs

Address represents a server the client connects to.
AddressMap is a map of addresses to arbitrary values taking into account Attributes.
BuildOptions includes additional information for the builder to create the resolver.
An Endpoint is one network endpoint, or server, which may have multiple addresses with which it can be accessed.
EndpointMap is a map of endpoints to arbitrary values keyed on only the unordered set of address strings within an endpoint.
ResolveNowOptions includes additional information for ResolveNow.
State contains the current Resolver state relevant to the ClientConn.
Target represents a target for gRPC, as specified in: https://github.com/grpc/grpc/blob/master/doc/naming.md.

# Interfaces

AuthorityOverrider is implemented by Builders that wish to override the default authority for the ClientConn.
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.