fix: hysteria parse

This commit is contained in:
gVisor bot 2022-06-07 14:53:00 +08:00
parent 3c5b69b884
commit 15154fba73

View file

@ -66,7 +66,7 @@ type HysteriaOption struct {
Name string `proxy:"name"` Name string `proxy:"name"`
Server string `proxy:"server"` Server string `proxy:"server"`
Port int `proxy:"port"` Port int `proxy:"port"`
Protocol string `json:"protocol,omitempty"` Protocol string `proxy:"protocol,omitempty"`
Up string `proxy:"up,omitempty"` Up string `proxy:"up,omitempty"`
UpMbps int `proxy:"up_mbps,omitempty"` UpMbps int `proxy:"up_mbps,omitempty"`
Down string `proxy:"down,omitempty"` Down string `proxy:"down,omitempty"`