Documentation ¶ Index ¶ type Event type Handler type Observer func NewObserver(handle Handler) *Observer func (o *Observer) Disconnect() error func (o *Observer) Observe(name string) error func (o *Observer) Unobserve(name string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Event ¶ type Event fsnotify.Event type Handler ¶ type Handler func(e Event) type Observer ¶ type Observer struct { // contains filtered or unexported fields } func NewObserver ¶ func NewObserver(handle Handler) *Observer func (*Observer) Disconnect ¶ func (o *Observer) Disconnect() error func (*Observer) Observe ¶ func (o *Observer) Observe(name string) error func (*Observer) Unobserve ¶ func (o *Observer) Unobserve(name string) error Source Files ¶ View all Source files event.go handler.go observer.go Click to show internal directories. Click to hide internal directories.