2024-03-10 15:13:42 -04:00
|
|
|
package model
|
|
|
|
|
|
|
|
type TUIC struct {
|
|
|
|
Type string `json:"type"`
|
|
|
|
Tag string `json:"tag,omitempty"`
|
|
|
|
Server string `json:"server"`
|
|
|
|
ServerPort uint16 `json:"server_port"`
|
|
|
|
UUID string `json:"uuid,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
|
|
|
CongestionControl string `json:"congestion_control,omitempty"`
|
|
|
|
UDPRelayMode string `json:"udp_relay_mode,omitempty"`
|
|
|
|
UDPOverStream bool `json:"udp_over_stream,omitempty"`
|
|
|
|
ZeroRTTHandshake bool `json:"zero_rtt_handshake,omitempty"`
|
2024-03-11 05:31:29 -04:00
|
|
|
Heartbeat string `json:"heartbeat,omitempty"`
|
2024-03-10 15:13:42 -04:00
|
|
|
Network string `json:"network,omitempty"`
|
|
|
|
TLS *OutboundTLSOptions `json:"tls,omitempty"`
|
|
|
|
}
|