notifier

package
v0.90.74 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: GPL-3.0 Imports: 2 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 interface {
	OnSuccess(services.Service) (string, error)                   // OnSuccess is triggered when a service is successful
	OnFailure(services.Service, failures.Failure) (string, error) // OnFailure is triggered when a service is failing
	OnTest() (string, error)                                      // OnTest is triggered for testing
	OnSave() (string, error)                                      // OnSave is triggered for when saved
}

Notifier interface is required to create a new Notifier

Jump to

Keyboard shortcuts

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