Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileWatcher ¶ added in v0.8.2
type FileWatcher struct {
// contains filtered or unexported fields
}
FileWatcher is an utility that
func NewFileWatcher ¶ added in v0.8.2
func NewFileWatcher(path string) (*FileWatcher, error)
func (*FileWatcher) Start ¶ added in v0.8.2
func (fw *FileWatcher) Start(changeHandler func()) error
func (*FileWatcher) Stop ¶ added in v0.8.2
func (fw *FileWatcher) Stop() error
Click to show internal directories.
Click to hide internal directories.