Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSChangeHandler ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func NewWatcher() (*FileWatcher, error)
func (*FileWatcher) Add ¶
func (w *FileWatcher) Add(name string, handler FSChangeHandler, filters ...*regexp.Regexp)
func (*FileWatcher) Start ¶
func (w *FileWatcher) Start(stopCh chan struct{})
Click to show internal directories.
Click to hide internal directories.