mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-23 22:04:41 -05:00
21 lines
1.1 KiB
Go
21 lines
1.1 KiB
Go
package model
|
|
|
|
type Hysteria struct {
|
|
Type string `json:"type"`
|
|
Tag string `json:"tag,omitempty"`
|
|
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"`
|
|
}
|