Files
threshold/internal/observability/event/event_sys.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
415 B
Go
Raw Normal View History

package event
// sysVersion defines the version of sys events
const sysVersion = "v0.1"
type sysEvent struct {
2022-10-25 18:29:38 -05:00
Id Id `json:"-"`
Version string `json:"version"`
Op Op `json:"op,omitempty"`
Data map[string]any `json:"data"`
}
// EventType is required for all event types by the eventlogger broker
func (e *sysEvent) EventType() string { return string(SystemType) }