Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Path string // path to object.
}
Event represents an object notification.
type Watcher ¶
type Watcher struct { Events chan Event Errors chan error // contains filtered or unexported fields }
Watcher watches a set of objects, delivering events to a channel.
func NewWatcher ¶
NewWatcher creates a new session and begins waiting for events.
Click to show internal directories.
Click to hide internal directories.