Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File is a file watcher that notifies when a file has been changed
func (*File) Start ¶
func (f *File) Start(notifier Notification)
Start is a runloop to watch for files changes from the file paths added from Add()
type Notification ¶
Notification is the delegate methods from the Notifier
type Notifier ¶
type Notifier interface { Start(Notification) Add(string) error Shutdown() }
Notifier is the base interface for file watching
Click to show internal directories.
Click to hide internal directories.