1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-24 11:34:42 -05:00
sub2sing-box/model/hysteria2.go

19 lines
542 B
Go
Raw Normal View History

2024-03-10 15:13:42 -04:00
package model
type Hysteria2Obfs struct {
Type string `json:"type,omitempty"`
Password string `json:"password,omitempty"`
}
type Hysteria2OutboundOptions struct {
DialerOptions
ServerOptions
UpMbps int `json:"up_mbps,omitempty"`
DownMbps int `json:"down_mbps,omitempty"`
Obfs *Hysteria2Obfs `json:"obfs,omitempty"`
Password string `json:"password,omitempty"`
Network string `json:"network,omitempty"`
OutboundTLSOptionsContainer
BrutalDebug bool `json:"brutal_debug,omitempty"`
2024-03-10 15:13:42 -04:00
}