Versions in this module Expand all Collapse all v1 v1.51.4 Oct 3, 2022 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 + BalancerAttributes *attributes.Attributes + Metadata interface{} + ServerName string + Type AddressType + func (a Address) Equal(o Address) bool + func (a Address) String() string + type AddressMap struct + func NewAddressMap() *AddressMap + func (a *AddressMap) Delete(addr Address) + func (a *AddressMap) Get(addr Address) (value interface{}, ok bool) + func (a *AddressMap) Keys() []Address + func (a *AddressMap) Len() int + func (a *AddressMap) Set(addr Address, value interface{}) + func (a *AddressMap) Values() []interface{} + 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) error + 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 + URL url.URL