3x-ui/xray/traffic.go
Saeid 23cf83c8f1 Show outbound traffic in outbounds table (#1711)
* store outbound traffic in database

* show outbound traffic in outbounds table

* add refresh button
2024-01-30 00:07:20 +03:30

9 lines
127 B
Go

package xray
type Traffic struct {
IsInbound bool
IsOutbound bool
Tag string
Up int64
Down int64
}