watcher

package
v0.0.0-...-de3ae37 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func DrainWatcher

func DrainWatcher()

func InitWatcher

func InitWatcher(filePatterns []string, callback func(), zapLogger *zap.Logger) error

Types

This section is empty.