优化UI样式,新增截图功能和储存显示

This commit is contained in:
远野千束 2024-10-05 05:31:12 +08:00
parent a0aef50822
commit 684083065a

View File

@ -3,19 +3,16 @@ package dao
type Report struct {
// 鉴权字段
Meta struct {
ID string `json:"id"` // 服务器ID用于标识服务器
Name string `json:"name"`
OS struct {
Name string `json:"name"`
Version string `json:"version"`
} `json:"os"`
Labels []string `json:"labels"` // 服务器标签
Location string `json:"location"` // Chongqing, China
UpTime int64 `json:"uptime"` // uptime in seconds
Link string `json:"link"` // 链接或是nil
ObservedAt int64 `json:"observed_at"` // unix timestamp
StartTime int64 `json:"start_time"` // unix timestamp
Timezone string `json:"timezone"` // Asia/Shanghai
ID string `json:"id"` // 服务器ID用于标识服务器
Name string `json:"name"`
OS map[string]interface{} `json:"os"` // 操作系统信息
Labels []string `json:"labels"` // 服务器标签
Location string `json:"location"` // Chongqing, China
UpTime int64 `json:"uptime"` // uptime in seconds
Link string `json:"link"` // 链接或是nil
ObservedAt int64 `json:"observed_at"` // unix timestamp
StartTime int64 `json:"start_time"` // unix timestamp
Timezone string `json:"timezone"` // Asia/Shanghai
} `json:"meta"`
Hardware struct {