Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Holds state for the event reporting system
func NewEventManager ¶
func NewEventManager() *Manager
func (*Manager) RegisterEventCallback ¶
RegisterEventCallback records the given function to receive ReportableEvent objects. It returns the internal index of the callback so that it can be deleted later.
func (*Manager) Report ¶
Report reports an event from the client to api users, providing a priority, category, eventType, and details
func (*Manager) UnregisterEventCallback ¶
UnregisterEventCallback deletes the callback identified by the index. It returns an error if it fails.
Click to show internal directories.
Click to hide internal directories.