mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
468 B
21 lines
468 B
package dto
|
|
|
|
type CreateOrUpdateAlert struct {
|
|
AlertTitle string `json:"alertTitle"`
|
|
AlertType string `json:"alertType"`
|
|
AlertCount uint `json:"alertCount"`
|
|
EntryID uint `json:"entryID"`
|
|
}
|
|
|
|
type AlertBase struct {
|
|
AlertType string `json:"alertType"`
|
|
EntryID uint `json:"entryID"`
|
|
}
|
|
|
|
type PushAlert struct {
|
|
TaskName string `json:"taskName"`
|
|
AlertType string `json:"alertType"`
|
|
EntryID uint `json:"entryID"`
|
|
Param string `json:"param"`
|
|
}
|