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"` }