notification

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 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 Notification

type Notification interface {
	Send(bool, *time.Location, string) error
}

type RocketChat

type RocketChat struct {
	WebhookUrl    string
	WebhookPrefix string
	// contains filtered or unexported fields
}

func (*RocketChat) Init

func (this *RocketChat) Init(webhookUrl, webhookPrefix string, notifyOnFailureOnly bool) error

func (*RocketChat) Send

func (this *RocketChat) Send(success bool, loc *time.Location, filenameOrError string) error

Jump to

Keyboard shortcuts

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