client

package
v0.0.0-...-cb6d2b4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialContext

func DialContext(ctx context.Context, config *DialConfig, opts ...grpc.DialOption) (conn *grpc.ClientConn, err error)

Types

type BalancerType

type BalancerType int
const (
	DefaultBalancer BalancerType = iota
	RespTimeBalancer
)

type DialConfig

type DialConfig struct {
	EnableBreak  bool
	BalancerType BalancerType
	Timeout      time.Duration
	//etcd://172.16.176.38:2379,ip:port/path
	TargetPath string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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