package
1.4.11
Repository: https://github.com/nxadm/tail.git
Documentation: pkg.go.dev

# Functions

Cleanup removes the watch for the input filename if necessary.
Events returns a channel to which FileEvents corresponding to the input filename will be sent.
No description provided by the author
No description provided by the author
No description provided by the author
RemoveWatch signals the run goroutine to remove the watch for the input filename.
RemoveWatch create signals the run goroutine to remove the watch for the input filename.
Watch signals the run goroutine to begin watching the input filename.
Watch create signals the run goroutine to begin watching the input filename if call the WatchCreate function, don't call the Cleanup, call the RemoveWatchCreate.

# Variables

No description provided by the author

# Structs

No description provided by the author
InotifyFileWatcher uses inotify to monitor file changes.
No description provided by the author
PollingFileWatcher polls the file for changes.

# Interfaces

FileWatcher monitors file-level events.