events/event/event.go
2024-04-30 18:39:50 +02:00

15 lines
161 B
Go

package event
type Level int
const (
LevelInfo Level = iota
LevelWarning
LevelError
)
type Event struct {
Level Level
Message string
Source string
}