sing-box/option/vmess.go

25 lines
795 B
Go
Raw Normal View History

2022-07-25 03:29:46 +00:00
package option
type VMessInboundOptions struct {
ListenOptions
Users []VMessUser `json:"users,omitempty"`
TLS *InboundTLSOptions `json:"tls,omitempty"`
}
type VMessUser struct {
Name string `json:"name"`
UUID string `json:"uuid"`
}
type VMessOutboundOptions struct {
OutboundDialerOptions
ServerOptions
2022-07-25 08:01:10 +00:00
UUID string `json:"uuid"`
Security string `json:"security"`
AlterId int `json:"alter_id,omitempty"`
GlobalPadding bool `json:"global_padding,omitempty"`
AuthenticatedLength bool `json:"authenticated_length,omitempty"`
Network NetworkList `json:"network,omitempty"`
TLSOptions *OutboundTLSOptions `json:"tls,omitempty"`
2022-07-25 03:29:46 +00:00
}