alert

package
v0.0.0-...-efbd42f Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorSaveVAA            = "ERROR_SAVE_VAA"
	ErrorSavePyth           = "ERROR_SAVE_PYTH"
	ErrorSaveObservation    = "ERROR_SAVE_OBSERVATION"
	ErrorSaveHeartbeat      = "ERROR_SAVE_HEARTBEAT"
	ErrorSaveGovernorStatus = "ERROR_SAVE_GOVERNOR_STATUS"
	ErrorSaveGovernorConfig = "ERROR_SAVE_GOVERNOR_CONFIG"
	ErrorPhylaxNoActivity   = "ERROR_GUARDIAN_NO_ACTIVITY"

	// warning alerts
	PhylaxSetUnknown         = "GUARDIAN_SET_UNKNOWN"
	ObservationWithoutTxHash = "OBSERVATION_WITHOUT_TX_HASH"
)

alert key constants definition.

Variables

This section is empty.

Functions

func LoadAlerts

func LoadAlerts(cfg alert.AlertConfig) map[string]alert.Alert

Types

This section is empty.

Jump to

Keyboard shortcuts

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