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.
23 lines
418 B
23 lines
418 B
package models
|
|
|
|
type Status int
|
|
|
|
const (
|
|
Blocked Status = 0
|
|
Available Status = 1
|
|
Background Status = 2
|
|
Active Status = 3
|
|
Completed Status = 4
|
|
Failed Status = 5
|
|
Dropped Status = 6
|
|
)
|
|
|
|
var StatusLabels = map[Status]string{
|
|
Blocked: "Blocked",
|
|
Available: "Available",
|
|
Background: "Background",
|
|
Active: "Active",
|
|
Completed: "Completed",
|
|
Failed: "Failed",
|
|
Dropped: "Dropped",
|
|
}
|