Versions in this module Expand all Collapse all v0 v0.2.0 Oct 30, 2024 v0.1.0 Apr 2, 2024 Changes in this version + func NewWatcher(cfg *Config, apiCfg *api.Config, handler watch.ClientManagerHandler) (watch.Watcher, error) + type Config struct + Balancer string + RegistryDir string + ServiceName string + ServiceVersion string + type Watcher struct + func (w *Watcher) Close() + func (w *Watcher) Pick(info *watch.PickInfo) any + func (w *Watcher) Remove(addr string) + func (w *Watcher) Update(addr string, content any) + func (w *Watcher) Watch()