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

      Source Files