lib_gc_event

package
v0.0.0-...-e28984d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const EVENTS_FILE_NAME = "EventsConfiguration.json"

Variables

View Source
var Dummy struct{}

Functions

func NotifyEvent

func NotifyEvent(eventCode string, pmessage string, parameters *[]string) (string, error)

Types

type Event

type Event struct {
	Code      string
	Level     string
	Message   string
	Timestamp int64
	Hostname  string
}

type EventLevel

type EventLevel byte
const (
	INFO EventLevel = iota
	WARNING
	CRITICAL
	FATAL
)

type NotifyRequirement

type NotifyRequirement struct {
	EventCode  string
	Message    string
	Parameters *[]string
}

Jump to

Keyboard shortcuts

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