Merge Go frontend (apiserver + xcecli) into meson build

This commit is contained in:
Rongsong Shen 2026-04-14 11:20:17 +08:00
parent 43dc12a36c
commit c9dc8c4676
205 changed files with 30793 additions and 328 deletions

View file

@ -0,0 +1,19 @@
package models
// LogonData define the data structure in the logon response
type LogonData struct {
Token string `json:"token"`
Path string `json:"path"`
IP string `json:"ip"`
CreateTime int64 `json:"createtime"`
TokenExpireTime int64 `json:"token_expire_time"`
}
// LogonResponse define the data structure in the logon response
type LogonResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data LogonData `json:"data"`
Count int `json:"count"`
CACert string `json:"cacert"`
}