Refactor inbound/outbound options struct

This commit is contained in:
世界 2023-12-11 18:36:06 +08:00
parent 36b0f2e91a
commit 6ddcd3954d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
31 changed files with 844 additions and 697 deletions

View file

@ -23,7 +23,7 @@ type ShadowTLSHandshakeOptions struct {
type ShadowTLSOutboundOptions struct {
DialerOptions
ServerOptions
Version int `json:"version,omitempty"`
Password string `json:"password,omitempty"`
TLS *OutboundTLSOptions `json:"tls,omitempty"`
Version int `json:"version,omitempty"`
Password string `json:"password,omitempty"`
OutboundTLSOptionsContainer
}