mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-12-06 18:13:40 +01:00
14 lines
519 B
Go
14 lines
519 B
Go
package model
|
|
|
|
// ProgramsStatView is the number of programs in each state shown on the
|
|
// dashboard. Active and NeedsAttention split the running programs the same
|
|
// way the program list does, so each program is counted once.
|
|
type ProgramsStatView struct {
|
|
Active int64 `json:"active"`
|
|
Scheduled int64 `json:"scheduled"`
|
|
Paused int64 `json:"paused"`
|
|
NeedsAttention int64 `json:"needsAttention"`
|
|
// Total counts every program in scope, drafts and closed included
|
|
Total int64 `json:"total"`
|
|
}
|