gprc

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL