MCPcopy Create free account
hub / github.com/PasarGuard/node / checkShadowsocks2022

Function checkShadowsocks2022

backend/xray/user.go:68–72  ·  view source on GitHub ↗
(method string, account api.ShadowsocksAccount)

Source from the content-addressed store, hash-verified

66}
67
68func checkShadowsocks2022(method string, account api.ShadowsocksAccount) api.ShadowsocksAccount {
69 account.Password = common.EnsureBase64Password(account.Password, method)
70
71 return account
72}
73
74func isActiveInbound(inbound *Inbound, inbounds []string, settings api.ProxySettings) (api.Account, bool) {
75 if slices.Contains(inbounds, inbound.Tag) {

Callers 4

syncUsersMethod · 0.85
updateUserMethod · 0.85
updateUsersMethod · 0.85
isActiveInboundFunction · 0.85

Calls 1

EnsureBase64PasswordFunction · 0.92

Tested by

no test coverage detected