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