fix: hysteria parse

This commit is contained in:
adlyq 2022-06-07 14:53:00 +08:00
parent 35a6666a84
commit 7941bae141

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"`