spicy-redis: Add some script logic for logging

Also "rebrands" from RESP to Redis.
This commit is contained in:
Evan Typanski 2024-10-28 16:31:49 -04:00
parent 757cbbf902
commit 22bda56af3
36 changed files with 266 additions and 86 deletions

View file

@ -14,6 +14,7 @@ public type KnownCommand = enum {
BLMPOP,
BLPOP,
BRPOP,
CLIENT,
COPY,
DECR,
DECRBY,
@ -241,6 +242,7 @@ function command_from(cmd_bytes: bytes): optional<KnownCommand> {
case b"blmpop": cmd = KnownCommand::BLMPOP;
case b"blpop": cmd = KnownCommand::BLPOP;
case b"brpop": cmd = KnownCommand::BRPOP;
case b"client": cmd = KnownCommand::CLIENT;
case b"copy": cmd = KnownCommand::COPY;
case b"decr": cmd = KnownCommand::DECR;
case b"decrby": cmd = KnownCommand::DECRBY;