MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / parseAuthPassword

Function parseAuthPassword

internal/api/redis_queue_protocol.go:381–390  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

379}
380
381func parseAuthPassword(args []string) (string, bool) {
382 switch len(args) {
383 case 2:
384 return args[1], true
385 case 3:
386 return args[2], true
387 default:
388 return "", false
389 }
390}
391
392func parseSubscribeChannel(args []string) (string, bool) {
393 if len(args) != 2 {

Callers 1

handleRedisConnectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected