utility

package
v0.0.0-...-6cbe507 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdGrpcClientGroup

type EtcdGrpcClientGroup struct {
	EtcdGrpcClientGroupConfig
	// contains filtered or unexported fields
}

func NewEtcdGrpcClientGroup

func NewEtcdGrpcClientGroup(keysAPI client.KeysAPI, config EtcdGrpcClientGroupConfig) (*EtcdGrpcClientGroup, error)

func (*EtcdGrpcClientGroup) Client

func (group *EtcdGrpcClientGroup) Client(i int) *grpc.ClientConn

func (*EtcdGrpcClientGroup) Len

func (group *EtcdGrpcClientGroup) Len() int

type EtcdGrpcClientGroupConfig

type EtcdGrpcClientGroupConfig struct {
	Key                     string
	DialOptions             []grpc.DialOption
	WatcherRetryDelay       time.Duration
	WatcherErrorHandler     func(error)
	WatcherUpdateRetry      int
	WatcherUpdateRetryDelay time.Duration
}

Jump to

Keyboard shortcuts

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