2022-09-12 21:59:27 +08:00
|
|
|
package option
|
|
|
|
|
2023-02-25 16:24:08 +08:00
|
|
|
type VLESSInboundOptions struct {
|
|
|
|
ListenOptions
|
2023-12-11 18:36:06 +08:00
|
|
|
Users []VLESSUser `json:"users,omitempty"`
|
|
|
|
InboundTLSOptionsContainer
|
2023-11-08 12:09:22 +08:00
|
|
|
Multiplex *InboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
2023-02-25 16:24:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
2023-12-11 18:36:06 +08:00
|
|
|
UUID string `json:"uuid"`
|
|
|
|
Flow string `json:"flow,omitempty"`
|
|
|
|
Network NetworkList `json:"network,omitempty"`
|
|
|
|
OutboundTLSOptionsContainer
|
2023-11-08 12:09:22 +08:00
|
|
|
Multiplex *OutboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
|
|
|
PacketEncoding *string `json:"packet_encoding,omitempty"`
|
2022-09-12 21:59:27 +08:00
|
|
|
}
|