Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileContentHandler ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
FileWatcher watches a single file and trigger the given handler function
func NewFileWatcher ¶
func NewFileWatcher(purpose string, path string, handler FileContentHandler) *FileWatcher
NewFileWatcher creates a FileWatcher
Click to show internal directories.
Click to hide internal directories.