fix traffic counting

This commit is contained in:
wyx2685 committed 2024-02-16 21:46:23 +09:00
1 parent 73f9b19222
commit 423ac622b5
5 files changed
+51 -29

No files matched your search

+2 -1
View File
@@ -19,12 +19,13 @@ func NewHysteria2Config() *Hysteria2Config {
}
type Hysteria2Options struct {
Hysteria2ConfigPath string `json:"Hysteria2ConfigPath"`
QUICConfig QUICConfig `json:"QUICConfig"`
Outbounds []Outbounds `json:"Outbounds"`
IgnoreClientBandwidth bool `json:"IgnoreClientBandwidth"`
DisableUDP bool `json:"DisableUDP"`
UDPIdleTimeout time.Duration `json:"UDPIdleTimeout"`
Masquerade serverConfigMasquerade `json:"masquerade"`
Masquerade serverConfigMasquerade `json:"Masquerade"`
}
type QUICConfig struct {