Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2024 Changes in this version + type Config struct + Endpoints []string + Key string + Password string + Username string + type Option func(w *Watcher) + func WithClient(client *clientv3.Client) Option + type Watcher struct + func MustNewWatcher(c Config, opts ...Option) *Watcher + func NewWatcher(c Config, opts ...Option) (*Watcher, error) + func (w *Watcher) Close() + func (w *Watcher) SetUpdateCallback(callback func(string)) error + func (w *Watcher) Update() error