blob: 9cb336384709d3afcfe4263bfc8fe2546dc7215b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package types
type MemoryStats struct {
Used string `json:"used"`
Total string `json:"total"`
Free string `json:"free"`
Usage string `json:"usage"`
}
type DatabaseStatus struct {
Connected bool `json:"connected"`
LastChecked string `json:"last_checked"`
}
type HealthStatus struct {
Status string `json:"status"`
Timestamp string `json:"timestamp"`
Uptime string `json:"uptime"`
Memory MemoryStats `json:"memory"`
Database DatabaseStatus `json:"database"`
Tasks map[string]*TaskStatus `json:"tasks"`
}
|