trigger

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger struct {
	Notification *notification.Notification
	Ref          string
	Sender       string
	TemplateData map[string]interface{}
}

Trigger represents a notification Trigger.

func (*Trigger) Send

func (t *Trigger) Send() error

Send is the method run when a notification is triggered.

Jump to

Keyboard shortcuts

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