sing-box/option/shadowtls.go

18 lines
320 B
Go
Raw Normal View History

package option
type ShadowTLSInboundOptions struct {
ListenOptions
Handshake ShadowTLSHandshakeOptions `json:"handshake"`
}
type ShadowTLSHandshakeOptions struct {
ServerOptions
DialerOptions
}
type ShadowTLSOutboundOptions struct {
2022-09-03 12:55:10 +08:00
DialerOptions
ServerOptions
TLS *OutboundTLSOptions `json:"tls,omitempty"`
}