shadowsocks: Multi-user support for legacy AEAD inbound

Signed-off-by: wwqgtxx <wwqgtxx@gmail.com>
This commit is contained in:
世界
2023-04-14 20:49:34 +08:00
parent dacb885930
commit 1fe69cc08c
2 changed files with 24 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ type ShadowsocksInboundOptions struct {
ListenOptions
Network NetworkList `json:"network,omitempty"`
Method string `json:"method"`
Password string `json:"password"`
Password string `json:"password,omitempty"`
Users []ShadowsocksUser `json:"users,omitempty"`
Destinations []ShadowsocksDestination `json:"destinations,omitempty"`
}