webhook

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const SchemeHTTP = "webhook+http"
View Source
const SchemeHTTPS = "webhook" //HTTPS

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookHTTPClient

type WebhookHTTPClient struct {
	webhook.WebhookHTTPClient
}

func (*WebhookHTTPClient) Notifier

func (w *WebhookHTTPClient) Notifier(targetUrl string, alerts ...*types.Alert) (bool, error)

type WebhookHTTPSClient

type WebhookHTTPSClient struct {
	webhook.WebhookHTTPSClient
}

func (*WebhookHTTPSClient) Notifier

func (w *WebhookHTTPSClient) Notifier(targetUrl string, alerts ...*types.Alert) (bool, error)

Jump to

Keyboard shortcuts

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