Documentation
¶
Overview ¶
Package watcher provides functionality for the Tako framework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher implements an OS-level file watcher using fsnotify.
func (*Watcher) ChangeChan ¶
func (w *Watcher) ChangeChan() <-chan struct{}
ChangeChan returns a channel that emits when a relevant file changes.
Click to show internal directories.
Click to hide internal directories.