watcher2

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

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWatcher

type ClientWatcher struct {
	// contains filtered or unexported fields
}

TODO(@benqi): grpc_util/serviec_discovery集成

func NewClientWatcher

func NewClientWatcher(registryDir, serviceName string, cfg etcd3.Config, client *net2.TcpClientGroupManager) (watcher *ClientWatcher, err error)

func (*ClientWatcher) WatchClients

func (m *ClientWatcher) WatchClients(cb func(etype, addr string))

Jump to

Keyboard shortcuts

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