2022-09-12 13:59:27 +00:00
|
|
|
package option
|
|
|
|
|
2023-02-25 08:24:08 +00:00
|
|
|
type VLESSInboundOptions struct {
|
|
|
|
ListenOptions
|
2023-12-11 10:36:06 +00:00
|
|
|
Users []VLESSUser `json:"users,omitempty"`
|
|
|
|
InboundTLSOptionsContainer
|
2023-11-08 04:09:22 +00:00
|
|
|
Multiplex *InboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
2023-02-25 08:24:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type VLESSUser struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
UUID string `json:"uuid"`
|
2023-03-01 12:28:40 +00:00
|
|
|
Flow string `json:"flow,omitempty"`
|
2023-02-25 08:24:08 +00:00
|
|
|
}
|
|
|
|
|
2022-09-12 13:59:27 +00:00
|
|
|
type VLESSOutboundOptions struct {
|
|
|
|
DialerOptions
|
|
|
|
ServerOptions
|
2023-12-11 10:36:06 +00:00
|
|
|
UUID string `json:"uuid"`
|
|
|
|
Flow string `json:"flow,omitempty"`
|
|
|
|
Network NetworkList `json:"network,omitempty"`
|
|
|
|
OutboundTLSOptionsContainer
|
2023-11-08 04:09:22 +00:00
|
|
|
Multiplex *OutboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
|
|
|
PacketEncoding *string `json:"packet_encoding,omitempty"`
|
2022-09-12 13:59:27 +00:00
|
|
|
}
|