Notifier implements a Notifier for Slack notifications.
type Notifier struct {
// contains filtered or unexported fields
}
func New(c *config.SlackConfig, t *template.Template, l log.Logger, httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error)
New returns a new Slack notification handler.
func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
Notify implements the Notifier interface.