|
@@ -37,19 +37,22 @@ func (o *InboundTLSOptionsContainer) ReplaceInboundTLSOptions(options *InboundTL
|
|
|
}
|
|
|
|
|
|
type OutboundTLSOptions struct {
|
|
|
- Enabled bool `json:"enabled,omitempty"`
|
|
|
- DisableSNI bool `json:"disable_sni,omitempty"`
|
|
|
- ServerName string `json:"server_name,omitempty"`
|
|
|
- Insecure bool `json:"insecure,omitempty"`
|
|
|
- ALPN badoption.Listable[string] `json:"alpn,omitempty"`
|
|
|
- MinVersion string `json:"min_version,omitempty"`
|
|
|
- MaxVersion string `json:"max_version,omitempty"`
|
|
|
- CipherSuites badoption.Listable[string] `json:"cipher_suites,omitempty"`
|
|
|
- Certificate badoption.Listable[string] `json:"certificate,omitempty"`
|
|
|
- CertificatePath string `json:"certificate_path,omitempty"`
|
|
|
- ECH *OutboundECHOptions `json:"ech,omitempty"`
|
|
|
- UTLS *OutboundUTLSOptions `json:"utls,omitempty"`
|
|
|
- Reality *OutboundRealityOptions `json:"reality,omitempty"`
|
|
|
+ Enabled bool `json:"enabled,omitempty"`
|
|
|
+ DisableSNI bool `json:"disable_sni,omitempty"`
|
|
|
+ ServerName string `json:"server_name,omitempty"`
|
|
|
+ Insecure bool `json:"insecure,omitempty"`
|
|
|
+ ALPN badoption.Listable[string] `json:"alpn,omitempty"`
|
|
|
+ MinVersion string `json:"min_version,omitempty"`
|
|
|
+ MaxVersion string `json:"max_version,omitempty"`
|
|
|
+ CipherSuites badoption.Listable[string] `json:"cipher_suites,omitempty"`
|
|
|
+ Certificate badoption.Listable[string] `json:"certificate,omitempty"`
|
|
|
+ CertificatePath string `json:"certificate_path,omitempty"`
|
|
|
+ Fragment bool `json:"fragment,omitempty"`
|
|
|
+ FragmentFallbackDelay badoption.Duration `json:"fragment_fallback_delay,omitempty"`
|
|
|
+ RecordFragment bool `json:"record_fragment,omitempty"`
|
|
|
+ ECH *OutboundECHOptions `json:"ech,omitempty"`
|
|
|
+ UTLS *OutboundUTLSOptions `json:"utls,omitempty"`
|
|
|
+ Reality *OutboundRealityOptions `json:"reality,omitempty"`
|
|
|
}
|
|
|
|
|
|
type OutboundTLSOptionsContainer struct {
|