Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsumer ¶
func NewConsumer(observer Observer) monitorConsumer.MonitorConsumer
NewConsumer returns an initialized pointer to consumer.
Types ¶
type Observer ¶
type Observer interface { GetEventsChannel() chan *observerTypes.MonitorEvent GetLogger() logrus.FieldLogger }
Observer is the receiver of MonitorEvents
Click to show internal directories.
Click to hide internal directories.