watcher

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 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(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