自动更新管控端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
412 B

package db
// 定义数据库中用的模型
type StFileInfo struct {
Id string `json:"id"`
Fpath string `json:"fpath"`
Fhash string `json:"fhash"`
Fname string `json:"fname"`
}
// 服务器信息
type StServerInfo struct {
Id string `json:"id"`
Scname string `json:"scname"`
Addr string `json:"addr"`
Port string `json:"port"`
Token string `json:"token"`
Status int `json:"status"`
}