mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 16:22:22 +08:00
23 lines
656 B
Go
23 lines
656 B
Go
package option
|
|
|
|
type ShadowTLSInboundOptions struct {
|
|
ListenOptions
|
|
Version int `json:"version,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
FallbackAfter *int `json:"fallback_after,omitempty"`
|
|
Handshake ShadowTLSHandshakeOptions `json:"handshake"`
|
|
}
|
|
|
|
type ShadowTLSHandshakeOptions struct {
|
|
ServerOptions
|
|
DialerOptions
|
|
}
|
|
|
|
type ShadowTLSOutboundOptions struct {
|
|
DialerOptions
|
|
ServerOptions
|
|
Version int `json:"version,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
TLS *OutboundTLSOptions `json:"tls,omitempty"`
|
|
}
|