2022-09-12 21:59:27 +08:00
|
|
|
package option
|
|
|
|
|
2023-02-25 16:24:08 +08:00
|
|
|
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 20:28:40 +08:00
|
|
|
Flow string `json:"flow,omitempty"`
|
2023-02-25 16:24:08 +08:00
|
|
|
}
|
|
|
|
|
2022-09-12 21:59:27 +08:00
|
|
|
type VLESSOutboundOptions struct {
|
|
|
|
DialerOptions
|
|
|
|
ServerOptions
|
|
|
|
UUID string `json:"uuid"`
|
2023-02-25 16:24:08 +08:00
|
|
|
Flow string `json:"flow,omitempty"`
|
2022-09-12 21:59:27 +08:00
|
|
|
Network NetworkList `json:"network,omitempty"`
|
|
|
|
TLS *OutboundTLSOptions `json:"tls,omitempty"`
|
|
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
2023-02-28 20:27:30 +08:00
|
|
|
PacketEncoding *string `json:"packet_encoding,omitempty"`
|
2022-09-12 21:59:27 +08:00
|
|
|
}
|