2024-03-10 15:13:42 -04:00
|
|
|
package model
|
|
|
|
|
|
|
|
type Hysteria2Obfs struct {
|
|
|
|
Type string `json:"type,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-03-20 12:02:38 -04:00
|
|
|
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
|
|
|
}
|