package
0.6.0
Repository: https://github.com/jackbister/logsuck.git
Documentation: pkg.go.dev

# Functions

NewFileWatcher returns a FileWatcher which will watch a file and publish events according to the IndexedFileConfig.
NewGlobWatcher creates a new watcher.

# Constants

CommandReload updates the file watcher's configuration to the new configuration stored in the "newFileConfig" property.
CommandReopen closes the file and opens it again.

# Structs

FileWatcher watches files and publishes events as they are written to the file.
GlobWatcher watches a glob pattern to find log files.

# Type aliases

FileWatcherCommand is a command that can be sent to a FileWatcher to tell it to perform various actions.