Documentation ¶ Index ¶ func NewClient(ctx context.Context) (*clientv3.Client, error) type Watcher func NewWatcher(ctx context.Context, prefix string) (Watcher, error) func (w Watcher) Close(ctx context.Context) error func (w Watcher) WatchChan(ctx context.Context) clientv3.WatchChan Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(ctx context.Context) (*clientv3.Client, error) Types ¶ type Watcher ¶ added in v0.8.0 type Watcher struct { // contains filtered or unexported fields } func NewWatcher ¶ added in v0.8.0 func NewWatcher(ctx context.Context, prefix string) (Watcher, error) func (Watcher) Close ¶ added in v0.8.0 func (w Watcher) Close(ctx context.Context) error func (Watcher) WatchChan ¶ added in v0.8.0 func (w Watcher) WatchChan(ctx context.Context) clientv3.WatchChan Source Files ¶ View all Source files client.gowatcher.go Click to show internal directories. Click to hide internal directories.