mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-06 07:05:22 +00:00
✨ 优化UI样式,新增截图功能和储存显示
This commit is contained in:
parent
a0aef50822
commit
684083065a
@ -3,19 +3,16 @@ package dao
|
|||||||
type Report struct {
|
type Report struct {
|
||||||
// 鉴权字段
|
// 鉴权字段
|
||||||
Meta struct {
|
Meta struct {
|
||||||
ID string `json:"id"` // 服务器ID,用于标识服务器
|
ID string `json:"id"` // 服务器ID,用于标识服务器
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
OS struct {
|
OS map[string]interface{} `json:"os"` // 操作系统信息
|
||||||
Name string `json:"name"`
|
Labels []string `json:"labels"` // 服务器标签
|
||||||
Version string `json:"version"`
|
Location string `json:"location"` // Chongqing, China
|
||||||
} `json:"os"`
|
UpTime int64 `json:"uptime"` // uptime in seconds
|
||||||
Labels []string `json:"labels"` // 服务器标签
|
Link string `json:"link"` // 链接或是nil
|
||||||
Location string `json:"location"` // Chongqing, China
|
ObservedAt int64 `json:"observed_at"` // unix timestamp
|
||||||
UpTime int64 `json:"uptime"` // uptime in seconds
|
StartTime int64 `json:"start_time"` // unix timestamp
|
||||||
Link string `json:"link"` // 链接或是nil
|
Timezone string `json:"timezone"` // Asia/Shanghai
|
||||||
ObservedAt int64 `json:"observed_at"` // unix timestamp
|
|
||||||
StartTime int64 `json:"start_time"` // unix timestamp
|
|
||||||
Timezone string `json:"timezone"` // Asia/Shanghai
|
|
||||||
} `json:"meta"`
|
} `json:"meta"`
|
||||||
|
|
||||||
Hardware struct {
|
Hardware struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user