mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
30 lines
953 B
Go
30 lines
953 B
Go
package option
|
|
|
|
type VLESSInboundOptions struct {
|
|
ListenOptions
|
|
Users []VLESSUser `json:"users,omitempty"`
|
|
Decryption string `json:"decryption,omitempty"`
|
|
InboundTLSOptionsContainer
|
|
Multiplex *InboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
|
}
|
|
|
|
type VLESSUser struct {
|
|
Name string `json:"name"`
|
|
UUID string `json:"uuid"`
|
|
Flow string `json:"flow,omitempty"`
|
|
}
|
|
|
|
type VLESSOutboundOptions struct {
|
|
DialerOptions
|
|
ServerOptions
|
|
UUID string `json:"uuid"`
|
|
Flow string `json:"flow,omitempty"`
|
|
Encryption string `json:"encryption,omitempty"`
|
|
Network NetworkList `json:"network,omitempty"`
|
|
OutboundTLSOptionsContainer
|
|
Multiplex *OutboundMultiplexOptions `json:"multiplex,omitempty"`
|
|
Transport *V2RayTransportOptions `json:"transport,omitempty"`
|
|
PacketEncoding *string `json:"packet_encoding,omitempty"`
|
|
}
|