Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(filePaths ...string) (*FileWatcher, error)
func (*FileWatcher) Close ¶
func (f *FileWatcher) Close()
func (*FileWatcher) Watch ¶
func (f *FileWatcher) Watch(fu func(), cancelCh chan os.Signal)
Click to show internal directories.
Click to hide internal directories.