Fix shadowtls server

This commit is contained in:
世界
2022-11-21 15:39:34 +08:00
parent 8b7fe20b7f
commit c16e4316d6
4 changed files with 31 additions and 27 deletions

View File

@@ -2,9 +2,10 @@ package option
type ShadowTLSInboundOptions struct {
ListenOptions
Version int `json:"version,omitempty"`
Password string `json:"password,omitempty"`
Handshake ShadowTLSHandshakeOptions `json:"handshake"`
Version int `json:"version,omitempty"`
Password string `json:"password,omitempty"`
FallbackAfter *int `json:"fallback_after,omitempty"`
Handshake ShadowTLSHandshakeOptions `json:"handshake"`
}
type ShadowTLSHandshakeOptions struct {