Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScriptNotification ¶
type ScriptNotification struct { Events []notifier.EventData `json:"events"` Trigger notifier.TriggerData `json:"trigger"` Contact notifier.ContactData `json:"contact"` Throttled bool `json:"throttled"` Timestamp int64 `json:"timestamp"` }
type Sender ¶
type Sender struct {
Exec string
}
Sender implements moira sender interface via slack
func (*Sender) SendEvents ¶
func (sender *Sender) SendEvents(events []notifier.EventData, contact notifier.ContactData, trigger notifier.TriggerData, throttled bool) error
SendEvents implements Sender interface Send
Click to show internal directories.
Click to hide internal directories.