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