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:
Diffstat (limited to 'xray/traffic.go')
-rw-r--r--xray/traffic.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/xray/traffic.go b/xray/traffic.go
index 7b907bae..3547573c 100644
--- a/xray/traffic.go
+++ b/xray/traffic.go
@@ -1,5 +1,7 @@
package xray
+// Traffic represents network traffic statistics for Xray connections.
+// It tracks upload and download bytes for inbound or outbound traffic.
type Traffic struct {
IsInbound bool
IsOutbound bool