2022-08-31 06:21:53 +00:00
|
|
|
package option
|
|
|
|
|
|
|
|
type ShadowTLSInboundOptions struct {
|
|
|
|
ListenOptions
|
2022-10-06 14:47:11 +00:00
|
|
|
Version int `json:"version,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
2022-08-31 06:21:53 +00:00
|
|
|
Handshake ShadowTLSHandshakeOptions `json:"handshake"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShadowTLSHandshakeOptions struct {
|
|
|
|
ServerOptions
|
|
|
|
DialerOptions
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShadowTLSOutboundOptions struct {
|
2022-09-03 04:55:10 +00:00
|
|
|
DialerOptions
|
2022-08-31 06:21:53 +00:00
|
|
|
ServerOptions
|
2022-10-06 14:47:11 +00:00
|
|
|
Version int `json:"version,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
|
|
|
TLS *OutboundTLSOptions `json:"tls,omitempty"`
|
2022-08-31 06:21:53 +00:00
|
|
|
}
|