Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <mc.sanaei@gmail.com>2023-02-09 22:18:06 +0300
committerMHSanaei <mc.sanaei@gmail.com>2023-02-09 22:18:06 +0300
commitb73e4173a3c1e69e02ad6b4e3b43e425e57a5be9 (patch)
treed95d2f5e903d97082e11eb9f9023c165b1bde388 /xray/client_traffic.go
3x-ui
Diffstat (limited to 'xray/client_traffic.go')
-rw-r--r--xray/client_traffic.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/xray/client_traffic.go b/xray/client_traffic.go
new file mode 100644
index 00000000..4df6a502
--- /dev/null
+++ b/xray/client_traffic.go
@@ -0,0 +1,12 @@
+package xray
+
+type ClientTraffic struct {
+ Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"`
+ InboundId int `json:"inboundId" form:"inboundId"`
+ Enable bool `json:"enable" form:"enable"`
+ Email string `json:"email" form:"email" gorm:"unique"`
+ Up int64 `json:"up" form:"up"`
+ Down int64 `json:"down" form:"down"`
+ ExpiryTime int64 `json:"expiryTime" form:"expiryTime"`
+ Total int64 `json:"total" form:"total"`
+}