Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRegistered will be returned when watcher is already been registered. ErrRegistered = errors.New("watcher has already been registered") ErrConfigUnavailable = errors.New("configuration is not available") )
Functions ¶
func ListWatchers ¶
ListWatchers returns registered watchers in map format.
func Unregister ¶
func Unregister(name string)
Unregister removes a watcher from the registry. The watcher should have stopped.
Types ¶
Click to show internal directories.
Click to hide internal directories.