package
3.0.0-rc9+incompatible
Repository: https://github.com/servak/mtail.git
Documentation: pkg.go.dev

# Functions

NewFakeWatcher returns a fake Watcher for use in tests.
NewLogWatcher returns a new LogWatcher, or returns an error.

# Structs

CreateEvent signifies a file was created in a watched directory.
DeleteEvent signifies a watched file was deleted.
FakeWatcher implements an in-memory Watcher.
LogWatcher implements a Watcher for watching real filesystems.
UpdateEvent signifies a watched file was modified.

# Interfaces

Event is a generalisation of events sent from the watcher to its listeners.
Watcher describes an interface for filesystem watching.