Add proxy protocol support

This commit is contained in:
世界
2022-08-23 21:07:35 +08:00
parent fe25c4b2dd
commit a69eddc618
15 changed files with 260 additions and 71 deletions

View File

@@ -27,7 +27,7 @@ type SocksOutboundOptions struct {
type HTTPOutboundOptions struct {
OutboundDialerOptions
ServerOptions
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
TLSOptions *OutboundTLSOptions `json:"tls,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
TLS *OutboundTLSOptions `json:"tls,omitempty"`
}