mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-25 17:00:53 -05:00
19 lines
987 B
Go
19 lines
987 B
Go
package model
|
|
|
|
type Hysteria struct {
|
|
Server string `json:"server"`
|
|
ServerPort uint16 `json:"server_port"`
|
|
Up string `json:"up,omitempty"`
|
|
UpMbps int `json:"up_mbps,omitempty"`
|
|
Down string `json:"down,omitempty"`
|
|
DownMbps int `json:"down_mbps,omitempty"`
|
|
Obfs string `json:"obfs,omitempty"`
|
|
Auth []byte `json:"auth,omitempty"`
|
|
AuthString string `json:"auth_str,omitempty"`
|
|
ReceiveWindowConn uint64 `json:"recv_window_conn,omitempty"`
|
|
ReceiveWindow uint64 `json:"recv_window,omitempty"`
|
|
DisableMTUDiscovery bool `json:"disable_mtu_discovery,omitempty"`
|
|
Network string `json:"network,omitempty"`
|
|
TLS *OutboundTLSOptions `json:"tls,omitempty"`
|
|
}
|