Documentation ¶
Index ¶
- func Setup()
- type API
- func (API) DeliverAlert(input *deliveryModels.DeliverAlertInput) (*deliveryModels.DeliverAlertOutput, error)
- func (API) DispatchAlerts(input []*deliveryModels.DispatchAlertsInput) (interface{}, error)
- func (API) SendTestAlert(input *deliveryModels.SendTestAlertInput) ([]*deliveryModels.SendTestAlertOutput, error)
- type AlertOutputMap
- type DispatchStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct{}
API has all of the handlers as receiver methods.
func (API) DeliverAlert ¶
func (API) DeliverAlert(input *deliveryModels.DeliverAlertInput) (*deliveryModels.DeliverAlertOutput, error)
DeliverAlert sends a specific alert to the specified destinations.
func (API) DispatchAlerts ¶
func (API) DispatchAlerts(input []*deliveryModels.DispatchAlertsInput) (interface{}, error)
DispatchAlerts - Sends an alert to sends a specific alert to the specified destinations.
func (API) SendTestAlert ¶
func (API) SendTestAlert(input *deliveryModels.SendTestAlertInput) ([]*deliveryModels.SendTestAlertOutput, error)
SendTestAlert sends a dummy alert to the specified destinations.
type AlertOutputMap ¶
type AlertOutputMap map[*deliveryModels.Alert][]*outputModels.AlertOutput
AlertOutputMap is a type alias for containing the outputIds that an alert should be delivered to
Click to show internal directories.
Click to hide internal directories.