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 0a4abcbbc8
commit 2850354070
2 changed files with 22 additions and 10 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"`
}