You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginx-ui/model/notification.go

18 lines
316 B
Go

package model
type NotificationType int
const (
NotificationError NotificationType = iota
NotificationWarning
NotificationInfo
NotificationSuccess
)
type Notification struct {
Model
Type NotificationType `json:"type"`
Title string `json:"title"`
Details string `json:"details"`
}