sing-box/option/shadowtls.go
2022-08-29 21:34:49 +08:00

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"`
}