Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventMonitor ¶
type EventMonitor interface { Start() Stop() // contains filtered or unexported methods }
EventMonitor represents an interface used to monitor Events
func NewEventMonitor ¶
func NewEventMonitor(logger *zerolog.Logger, eventsToMonitor []string, eventSignal chan *EventInfo) (EventMonitor, error)
NewEventMonitor creates a new eventMonitor that publishes received events to the specified channel
func NewEventMonitorForQueue ¶ added in v0.0.68
func NewEventMonitorForQueue(logger *zerolog.Logger, queueName string, eventsToMonitor []string, eventSignal chan *EventInfo) (EventMonitor, error)
NewEventMonitorForQueue creates a new eventMonitor that publishes received events from a named queue to the specified channel
Click to show internal directories.
Click to hide internal directories.