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

Function parseSubscribeChannel

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

Source from the content-addressed store, hash-verified

390}
391
392func parseSubscribeChannel(args []string) (string, bool) {
393 if len(args) != 2 {
394 return "", false
395 }
396 return strings.TrimSpace(args[1]), true
397}
398
399func parsePopCount(args []string) (count int, hasCount bool, ok bool) {
400 if len(args) != 2 && len(args) != 3 {

Callers 1

handleRedisConnectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected