Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool = false
View Source
var Logger *log.Logger
Functions ¶
This section is empty.
Types ¶
type FsWatcher ¶
type FsWatcher struct { Roots []string Listeners []NotifyFunc // contains filtered or unexported fields }
FsWatcher is file system watcher
func NewFsWatcher ¶
func (*FsWatcher) Listen ¶
func (w *FsWatcher) Listen(fn NotifyFunc)
Listen register a event listener
type NotifyFunc ¶
type NotifyFunc func(e Event)
Click to show internal directories.
Click to hide internal directories.