Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func NewWatcher(cfw fs.CachedFileWatcher, path string, logger *zap.SugaredLogger) (*Watcher, error)
func (*Watcher) AddCallback ¶
func (cw *Watcher) AddCallback(cb WatcherCallback)
func (*Watcher) GetConfig ¶
func (cw *Watcher) GetConfig() *observability.Config
type WatcherCallback ¶
type WatcherCallback func(*observability.Config)
Click to show internal directories.
Click to hide internal directories.