mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 02:53:12 +00:00
5813e0ce7a
* Add shadowtls outbound * Add shadowtls inbound * Add shadowtls example * Add shadowtls documentation
18 lines
328 B
Go
18 lines
328 B
Go
package option
|
|
|
|
type ShadowTLSInboundOptions struct {
|
|
ListenOptions
|
|
Handshake ShadowTLSHandshakeOptions `json:"handshake"`
|
|
}
|
|
|
|
type ShadowTLSHandshakeOptions struct {
|
|
ServerOptions
|
|
DialerOptions
|
|
}
|
|
|
|
type ShadowTLSOutboundOptions struct {
|
|
OutboundDialerOptions
|
|
ServerOptions
|
|
TLS *OutboundTLSOptions `json:"tls,omitempty"`
|
|
}
|