修改项目结构
This commit is contained in:
@@ -52,15 +52,6 @@ type HostInfo struct {
|
||||
MotherboardInfo MotherboardInfo `json:"motherboard_info"`
|
||||
}
|
||||
|
||||
//// HostInfo 主机信息模型
|
||||
//type HostInfo struct {
|
||||
// UUID string `json:"uuid"` // 主机UUID
|
||||
// CPU string `json:"cpu"` // CPU信息
|
||||
// Motherboard string `json:"motherboard"` // 主板信息
|
||||
// MAC string `json:"mac"` // MAC地址
|
||||
// Disk string `json:"disk"` // 硬盘信息
|
||||
//}
|
||||
|
||||
// HeartbeatRequest 心跳请求
|
||||
type HeartbeatRequest struct {
|
||||
HostInfo HostInfo `json:"host_info"` // 主机信息
|
||||
|
||||
Reference in New Issue
Block a user