Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
FileWatcher defines a watch over a file
func NewFileWatcher ¶
func NewFileWatcher(file string, onEvent func()) (FileWatcher, error)
NewFileWatcher creates a new FileWatcher
Click to show internal directories.
Click to hide internal directories.