sing-box/option/vless.go

27 lines
886 B
Go
Raw Permalink Normal View History

2022-09-12 13:59:27 +00:00
package option
type VLESSInboundOptions struct {
ListenOptions
Users []VLESSUser `json:"users,omitempty"`
TLS *InboundTLSOptions `json:"tls,omitempty"`
Transport *V2RayTransportOptions `json:"transport,omitempty"`
}
type VLESSUser struct {
Name string `json:"name"`
UUID string `json:"uuid"`
2023-03-01 12:28:40 +00:00
Flow string `json:"flow,omitempty"`
}
2022-09-12 13:59:27 +00:00
type VLESSOutboundOptions struct {
DialerOptions
ServerOptions
UUID string `json:"uuid"`
Flow string `json:"flow,omitempty"`
2022-09-12 13:59:27 +00:00
Network NetworkList `json:"network,omitempty"`
TLS *OutboundTLSOptions `json:"tls,omitempty"`
2023-04-24 01:55:46 +00:00
Multiplex *MultiplexOptions `json:"multiplex,omitempty"`
2022-09-12 13:59:27 +00:00
Transport *V2RayTransportOptions `json:"transport,omitempty"`
2023-02-28 12:27:30 +00:00
PacketEncoding *string `json:"packet_encoding,omitempty"`
2022-09-12 13:59:27 +00:00
}