2024-03-10 15:13:42 -04:00
|
|
|
package model
|
|
|
|
|
|
|
|
type VmessJson struct {
|
2024-08-04 13:53:16 -04:00
|
|
|
V string `json:"v"`
|
|
|
|
Ps string `json:"ps"`
|
|
|
|
Add string `json:"add"`
|
|
|
|
Port any `json:"port"`
|
|
|
|
Id string `json:"id"`
|
|
|
|
Aid any `json:"aid"`
|
|
|
|
Scy string `json:"scy"`
|
|
|
|
Net string `json:"net"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
Host string `json:"host"`
|
|
|
|
Path string `json:"path"`
|
|
|
|
Tls string `json:"tls"`
|
|
|
|
Sni string `json:"sni"`
|
|
|
|
Alpn string `json:"alpn"`
|
|
|
|
Fp string `json:"fp"`
|
2024-03-10 15:13:42 -04:00
|
|
|
}
|
|
|
|
|
2024-03-20 12:02:38 -04:00
|
|
|
type VMessOutboundOptions struct {
|
|
|
|
DialerOptions
|
|
|
|
ServerOptions
|
|
|
|
UUID string `json:"uuid"`
|
|
|
|
Security string `json:"security"`
|
|
|
|
AlterId int `json:"alter_id,omitempty"`
|
|
|
|
GlobalPadding bool `json:"global_padding,omitempty"`
|
|
|
|
AuthenticatedLength bool `json:"authenticated_length,omitempty"`
|
|
|
|
Network string `json:"network,omitempty"`
|
|
|
|
OutboundTLSOptionsContainer
|
|
|
|
PacketEncoding string `json:"packet_encoding,omitempty"`
|
|
|
|
Multiplex *OutboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
2024-03-10 15:13:42 -04:00
|
|
|
}
|