Add multiplexer for vmess

This commit is contained in:
世界
2022-08-04 10:38:20 +08:00
parent 1c3c154d6d
commit 64dbac8138
12 changed files with 171 additions and 50 deletions

View File

@@ -24,8 +24,8 @@ type ShadowsocksDestination struct {
type ShadowsocksOutboundOptions struct {
OutboundDialerOptions
ServerOptions
Method string `json:"method"`
Password string `json:"password"`
Network NetworkList `json:"network,omitempty"`
Multiplex *MultiplexOptions `json:"multiplex,omitempty"`
Method string `json:"method"`
Password string `json:"password"`
Network NetworkList `json:"network,omitempty"`
MultiplexOptions *MultiplexOptions `json:"multiplex,omitempty"`
}

View File

@@ -22,4 +22,5 @@ type VMessOutboundOptions struct {
AuthenticatedLength bool `json:"authenticated_length,omitempty"`
Network NetworkList `json:"network,omitempty"`
TLSOptions *OutboundTLSOptions `json:"tls,omitempty"`
MultiplexOptions *MultiplexOptions `json:"multiplex,omitempty"`
}