notifier

package
v0.90.15 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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) error                    // OnSuccess is triggered when a service is successful
	OnFailure(*services.Service, *failures.Failure) error // OnFailure is triggered when a service is failing
	OnTest() error                                        // OnTest is triggered for testing
}

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