Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface {
// AddMonitoredObject will add the object for event listening
AddMonitoredObject(ref string) error
// RemoveMonitoredObject will remove the object from event listening
RemoveMonitoredObject(ref string)
// Start listening for events and publish to function
Start() error
// Stop listening for events
Stop()
// Register a callback function
Register(func(events.Event))
// Name returns the collector name
Name() string
}
Source Files
¶
- collector.go
Click to show internal directories.
Click to hide internal directories.