alert

package
v0.0.0-...-e1923c7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert interface {
	PushNotify(msg string) error
}

Alert interface defined ...

type SlackWebhook

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

SlackWebhook ...

func NewSlackWebhook

func NewSlackWebhook(httpCli *httpclient.Client, url string) *SlackWebhook

NewSlackWebhook ...

func (*SlackWebhook) PushNotify

func (s *SlackWebhook) PushNotify(msg string) error

PushNotify ...

Jump to

Keyboard shortcuts

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