Versions in this module Expand all Collapse all v1 v1.0.0 Jun 24, 2021 Changes in this version + func GetDefaultScheme() string + func Register(b Builder) + func SetDefaultScheme(scheme string) + func UnregisterForTesting(scheme string) + type Address struct + Addr string + Attributes *attributes.Attributes + Metadata interface{} + ServerName string + Type AddressType + type AddressType uint8 + const Backend + const GRPCLB + type BuildOptions struct + CredsBundle credentials.Bundle + DialCreds credentials.TransportCredentials + Dialer func(context.Context, string) (net.Conn, error) + DisableServiceConfig bool + type Builder interface + Build func(target Target, cc ClientConn, opts BuildOptions) (Resolver, error) + Scheme func() string + func Get(scheme string) Builder + type ClientConn interface + NewAddress func(addresses []Address) + NewServiceConfig func(serviceConfig string) + ParseServiceConfig func(serviceConfigJSON string) *serviceconfig.ParseResult + ReportError func(error) + UpdateState func(State) + type ResolveNowOptions struct + type Resolver interface + Close func() + ResolveNow func(ResolveNowOptions) + type State struct + Addresses []Address + Attributes *attributes.Attributes + ServiceConfig *serviceconfig.ParseResult + type Target struct + Authority string + Endpoint string + Scheme string