Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertSender ¶
func BuildSenders ¶
func BuildSenders(cfg spec.AlertsConfig) []AlertSender
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(senders []AlertSender) *Router
func (*Router) Handle ¶
func (r *Router) Handle(result spec.CheckResult)
func (*Router) UpdateSenders ¶
func (r *Router) UpdateSenders(senders []AlertSender)
Click to show internal directories.
Click to hide internal directories.