package delegatingresolver

Import Path
	google.golang.org/grpc/internal/resolver/delegatingresolver (on go.dev)

Dependency Relation
	imports 10 packages, and imported by one package

Involved Source Files Package delegatingresolver implements a resolver capable of resolving both target URIs and proxy addresses.
Package-Level Type Names (total 3, none are exported)
/* sort exporteds by: | */
Package-Level Functions (total 4, in which 1 is exported)
New creates a new delegating resolver that can create up to two child resolvers: - one to resolve the proxy address specified using the supported environment variables. This uses the registered resolver for the "dns" scheme. It is lazily built when a target resolver update contains at least one TCP address. - one to resolve the target URI using the resolver specified by the scheme in the target URI or specified by the user using the WithResolvers dial option. As a special case, if the target URI's scheme is "dns" and a proxy is specified using the supported environment variables, the target URI's path portion is used as the resolved address unless target resolution is enabled using the dial option.
Package-Level Variables (total 2, in which 1 is exported)
HTTPSProxyFromEnvironment will be overwritten in the tests