From 6c0775b12055e4546cb0fd86e1d8d569d886eefa Mon Sep 17 00:00:00 2001 From: Saeid <43953720+surbiks@users.noreply.github.com> Date: Tue, 30 Jan 2024 00:07:20 +0330 Subject: Show outbound traffic in outbounds table (#1711) * store outbound traffic in database * show outbound traffic in outbounds table * add refresh button --- xray/traffic.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xray/traffic.go') 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 } -- cgit v1.2.3