Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitEventMgt ¶
func InitEventMgt(influxDBCfg *InternalInflux.Config, rabbitMQConfig *InternalRabbitMQ.Config)
func ListEvents ¶
func ListEvents(in *datahub_v1alpha1.ListEventsRequest) ([]*datahub_v1alpha1.Event, error)
func PostEvents ¶
func PostEvents(in *datahub_v1alpha1.CreateEventsRequest) error
Types ¶
type EventMgt ¶
type EventMgt struct { RabbitMQConfig *InternalRabbitMQ.Config // contains filtered or unexported fields }
func NewEventMgt ¶
func NewEventMgt(influxDBCfg *InternalInflux.Config, rabbitMQConfig *InternalRabbitMQ.Config) *EventMgt
func (*EventMgt) ListEvents ¶
func (e *EventMgt) ListEvents(in *datahub_v1alpha1.ListEventsRequest) ([]*datahub_v1alpha1.Event, error)
func (*EventMgt) PostEvents ¶
func (e *EventMgt) PostEvents(in *datahub_v1alpha1.CreateEventsRequest) error
Click to show internal directories.
Click to hide internal directories.