mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-07 18:57:14 +00:00
ed6bc1d898
Document the cookie-authenticated WebSocket upgrade and its emitted envelopes without exporting pseudo-paths. Align REST response schemas, paged-client filters, and subscription HEAD operations with their runtime implementations, then regenerate frontend and docs artifacts.
12 lines
443 B
Go
12 lines
443 B
Go
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 `json:"IsInbound" example:"true"`
|
|
IsOutbound bool `json:"IsOutbound" example:"false"`
|
|
Tag string `json:"Tag" example:"inbound-443"`
|
|
Up int64 `json:"Up" example:"1048576"`
|
|
Down int64 `json:"Down" example:"2097152"`
|
|
}
|