events/event/event.go

16 lines
161 B
Go
Raw Normal View History

2024-04-30 16:39:50 +00:00
package event
type Level int
const (
LevelInfo Level = iota
LevelWarning
LevelError
)
type Event struct {
Level Level
Message string
Source string
}