30 lines
805 B
Go
30 lines
805 B
Go
package vo
|
|
|
|
type PeerVo struct {
|
|
BaseVo
|
|
Name string `json:"name"`
|
|
Remark string `json:"remark"`
|
|
AuthId string `json:"authId"`
|
|
QuotaBytes int64 `json:"quotaBytes"`
|
|
DownloadBytes int64 `json:"downloadBytes"`
|
|
UploadBytes int64 `json:"uploadBytes"`
|
|
ExpiresAt int64 `json:"expiresAt"`
|
|
MaxDevices int64 `json:"maxDevices"`
|
|
Disabled int64 `json:"disabled"`
|
|
BannedUntil int64 `json:"bannedUntil"`
|
|
LastConnectionAt int64 `json:"lastConnectionAt"`
|
|
|
|
Online bool `json:"online"`
|
|
OnlineDevices int64 `json:"onlineDevices"`
|
|
}
|
|
|
|
type PeerPageVo struct {
|
|
Records []PeerVo `json:"records"`
|
|
Total int64 `json:"total"`
|
|
}
|
|
|
|
type PeerClientConfigVo struct {
|
|
Url string `json:"url"`
|
|
QrCode []byte `json:"qrCode"`
|
|
}
|