feat(cmd/ry): add display model package

This commit is contained in:
2026-08-13 00:31:11 +08:00
parent d7a7af7cca
commit 16ccc8d339
4 changed files with 53 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package model
import "time"
type Server struct {
ID string `json:"id" table:"ID"`
Name string `json:"name" table:"NAME"`
Status string `json:"status" table:"STATUS"`
IP string `json:"ip" table:"IP"`
CPU int `json:"cpu" table:"CPU"`
Memory int `json:"memory" table:"MEM"`
Disk int `json:"disk" table:"DISK"`
OS string `json:"os" table:"OS"`
Region string `json:"region" table:"REGION"`
ExpireAt time.Time `json:"expires" table:"EXPIRES"`
}