Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchEndpoints ¶
type FetchEndpoints func() []string
FetchEndpoints is a delegate for fetching endpoints
type ResolvedClientConn ¶
type ResolvedClientConn struct {
// contains filtered or unexported fields
}
ResolvedClientConn wrap a clientconn
func NewResolvedClientConn ¶
func NewResolvedClientConn(scheme string, endpoints []string, authority string, ticker *time.Ticker, fetch FetchEndpoints, opts ...grpc.DialOption) (*ResolvedClientConn, error)
NewResolvedClientConn new a resolvedClientConn
func (*ResolvedClientConn) GetClientConn ¶
func (r *ResolvedClientConn) GetClientConn() *grpc.ClientConn
GetClientConn get clientconn
Click to show internal directories.
Click to hide internal directories.