mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
spicy-redis: Add some script logic for logging
Also "rebrands" from RESP to Redis.
This commit is contained in:
parent
757cbbf902
commit
22bda56af3
36 changed files with 266 additions and 86 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue