mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-06-11 14:59:55 +00:00
20 lines
383 B
Go
20 lines
383 B
Go
package v2raysocks
|
|
|
|
type UserTraffic struct {
|
|
UID int `json:"user_id"`
|
|
Upload int64 `json:"u"`
|
|
Download int64 `json:"d"`
|
|
}
|
|
|
|
type NodeStatus struct {
|
|
CPU string `json:"cpu"`
|
|
Mem string `json:"mem"`
|
|
Net string `json:"net"`
|
|
Disk string `json:"disk"`
|
|
Uptime int `json:"uptime"`
|
|
}
|
|
|
|
type NodeOnline struct {
|
|
UID int `json:"uid"`
|
|
IP string `json:"ip"`
|
|
} |