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))
Click to show internal directories.
Click to hide internal directories.