github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/option/vmess.go (about) 1 package option 2 3 type VMessInboundOptions struct { 4 ListenOptions 5 Users []VMessUser `json:"users,omitempty"` 6 TLS *InboundTLSOptions `json:"tls,omitempty"` 7 Transport *V2RayTransportOptions `json:"transport,omitempty"` 8 } 9 10 type VMessUser struct { 11 Name string `json:"name"` 12 UUID string `json:"uuid"` 13 AlterId int `json:"alterId,omitempty"` 14 } 15 16 type VMessOutboundOptions struct { 17 DialerOptions 18 ServerOptions 19 UUID string `json:"uuid"` 20 Security string `json:"security"` 21 AlterId int `json:"alter_id,omitempty"` 22 GlobalPadding bool `json:"global_padding,omitempty"` 23 AuthenticatedLength bool `json:"authenticated_length,omitempty"` 24 Network NetworkList `json:"network,omitempty"` 25 TLS *OutboundTLSOptions `json:"tls,omitempty"` 26 PacketEncoding string `json:"packet_encoding,omitempty"` 27 Multiplex *MultiplexOptions `json:"multiplex,omitempty"` 28 Transport *V2RayTransportOptions `json:"transport,omitempty"` 29 }