3x-ui/xray/traffic.go
Saeid 6c0775b120
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

10 lines
127 B
Go

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