package models type ServiceStatus struct { Name string `json:"name"` Load string `json:"load"` Active string `json:"active"` Sub string `json:"sub"` } type SystemdStats struct { Available bool `json:"available"` Total int `json:"total"` Active int `json:"active"` Inactive int `json:"inactive"` Failed int `json:"failed"` Services []ServiceStatus `json:"services"` }