watcher

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyStarted        = errors.New("the watcher is already running")
	ErrUnableToStartWatching = errors.New("unable to start the watcher")
)

Functions

func DrainWatcher

func DrainWatcher()

func InitWatcher

func InitWatcher(ct context.Context, filePatterns []string, callback func(), slogger *slog.Logger) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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