opsgenie

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opsgenie

type Opsgenie struct {
	// contains filtered or unexported fields
}

func NewOpsgenie

func NewOpsgenie(config map[string]interface{}, appCfg *config.App) *Opsgenie

NewOpsgenie returns new opsgenie instance

func (*Opsgenie) Name

func (m *Opsgenie) Name() string

Name returns name of the provider

func (*Opsgenie) SendEvent

func (m *Opsgenie) SendEvent(e *event.Event) error

SendEvent sends event to the provider

func (*Opsgenie) SendMessage

func (m *Opsgenie) SendMessage(msg string) error

SendMessage sends text message to the provider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL