Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStop = errors.New("stop watching")
ErrStop informs the watcher to stop.
ErrStop is not an error, it's part of the control flow.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
NewWatcher creates a new watcher
Click to show internal directories.
Click to hide internal directories.