Documentation ¶
Overview ¶
Package alerts provides set of API to send system and services alerts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerts ¶
Alerts instance.
func (*Alerts) CloudConnected ¶
func (instance *Alerts) CloudConnected()
CloudConnected indicates unit connected to cloud.
func (*Alerts) CloudDisconnected ¶
func (instance *Alerts) CloudDisconnected()
CloudDisconnected indicates unit disconnected from cloud.
type Sender ¶
type Sender interface { SubscribeForConnectionEvents(consumer amqphandler.ConnectionEventsConsumer) error UnsubscribeFromConnectionEvents(consumer amqphandler.ConnectionEventsConsumer) error SendAlerts(alerts cloudprotocol.Alerts) error }
Sender alerts sender to the cloud interface.
Click to show internal directories.
Click to hide internal directories.