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:
authorSaeid <43953720+surbiks@users.noreply.github.com>2024-01-29 23:37:20 +0300
committerGitHub <noreply@github.com>2024-01-29 23:37:20 +0300
commit6c0775b12055e4546cb0fd86e1d8d569d886eefa (patch)
tree8f7ee64e54f83f9c563a178c4afaee10e072eddc /xray/traffic.go
parent9fbaede59f87dd9d8b77479a3fb295c3c882630e (diff)
Show outbound traffic in outbounds table (#1711)
* store outbound traffic in database * show outbound traffic in outbounds table * add refresh button
Diffstat (limited to 'xray/traffic.go')
-rw-r--r--xray/traffic.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/xray/traffic.go b/xray/traffic.go
index a1ef5186..7b907bae 100644
--- a/xray/traffic.go
+++ b/xray/traffic.go
@@ -1,8 +1,9 @@
package xray
type Traffic struct {
- IsInbound bool
- Tag string
- Up int64
- Down int64
+ IsInbound bool
+ IsOutbound bool
+ Tag string
+ Up int64
+ Down int64
}