notifier

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	*router.ServiceRouter
	// contains filtered or unexported fields
}

Notifier sends notifications via various channels

func NewNotifier

func NewNotifier(tpl string, urls ...string) (*Notifier, error)

NewNotifier creates a new notifier instance

func (*Notifier) Notify

func (n *Notifier) Notify(url string, obj *s3.HeadObjectOutput, params types.Params) error

Notify sends a notification

Jump to

Keyboard shortcuts

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