Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWatcher ¶
type FileWatcher struct { Watcher *fsnotify.Watcher Events chan fsnotify.Event Errors chan error // contains filtered or unexported fields }
func NewFileWatcher ¶
func NewFileWatcher() (*FileWatcher, error)
func (*FileWatcher) AddWatch ¶
func (fw *FileWatcher) AddWatch(path string) error
func (*FileWatcher) Close ¶
func (fw *FileWatcher) Close()
func (*FileWatcher) Watch ¶
func (fw *FileWatcher) Watch()
Click to show internal directories.
Click to hide internal directories.