New transports and api changes for V2RaySocks (#685)

* New transports and api changes for V2RaySocks

* version++
This commit is contained in:
RyarX
2024-10-19 16:03:05 +02:00
committed by GitHub
parent eb16b709e2
commit 9391c759c9
3 changed files with 67 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
package v2raysocks
type UserTraffic struct {
UID int `json:"user_id"`
UID int `json:"uid"`
Upload int64 `json:"u"`
Download int64 `json:"d"`
}
@@ -19,6 +19,10 @@ type NodeOnline struct {
IP string `json:"ip"`
}
type IllegalItem struct {
UID int `json:"uid"`
}
type REALITYConfig struct {
Dest string `json:"dest,omitempty"`
ProxyProtocolVer uint64 `json:"proxy_protocol_ver,omitempty"`