plugins

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailNotifier

type EmailNotifier struct {
}

func (*EmailNotifier) Send

func (n *EmailNotifier) Send(ctx context.Context, task *models.Task) error

type NotifyInterface

type NotifyInterface interface {
	Send(ctx context.Context, task *models.Task) error
}

func GetNotifier

func GetNotifier(task *models.Task) (NotifyInterface, error)

Jump to

Keyboard shortcuts

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