fsnotify

package
v0.0.0-...-b24e222 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 7 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
}

Watcher is a type that waches for config changes and processes config updates Watcher really just wraps other Loader types

func New

func New(ctx context.Context, l loader, logger loggerProvider) *Watcher

New ...

func (*Watcher) Config

func (w *Watcher) Config() chan config.ServerConfig

Config ...

func (*Watcher) Load

func (w *Watcher) Load(path string) error

Load ...

Jump to

Keyboard shortcuts

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