Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Alert() <-chan struct{} Shutdown() }
Interface describes the watcher interface
type Option ¶
type Option func(*watcher) error
An Option is a function that can manipulate a watcher during construction
func Directory ¶
Directory specifies one or more directories to watch recursively. If no directories are specified, the current working directory is watched.
Click to show internal directories.
Click to hide internal directories.