config

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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

func (*Watcher) Start

func (cw *Watcher) Start(ctx context.Context) error

type WatcherCallback

type WatcherCallback func(*observability.Config)

Jump to

Keyboard shortcuts

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