package
0.0.0-20230510142333-77b18831edf0
Repository: https://github.com/grafana/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
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
DefaultPollingFileWatcherOptions holds default values for PollingFileWatcherOptions.
# 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.
PollingFileWatcherOptions customizes a PollingFileWatcher.
# Interfaces
FileWatcher monitors file-level events.