watcher

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatcher

func NewWatcher(etcdClient *etcdclient.Client, etcdPath string) (notifiers.Watcher, error)

NewWatcher creates a new watcher.

Types

type Constructor

type Constructor struct {
	Name     string
	EtcdPath string
}

Constructor holds fields to create an annotated instance of etcd Watcher.

func (Constructor) Annotate

func (c Constructor) Annotate() fx.Option

Annotate creates an annotated instance of etcd Watcher.

Jump to

Keyboard shortcuts

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