spicy-redis: Separate client/server

This makes the parser more official and splits the client/server out
from each other. Apparently they're different enough to be separate.
This commit is contained in:
Evan Typanski 2024-10-23 11:10:44 -04:00
parent f0f2969a66
commit 757cbbf902
28 changed files with 809 additions and 702 deletions

View file

@ -5,10 +5,10 @@
#unset_field -
#path resp
#open XXXX-XX-XX-XX-XX-XX
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p cmd.command cmd.key cmd.value
#types time string addr port addr port string string string
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 PING - -
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 PING - -
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 SET HI 3
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 GET HI -
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p cmd.command cmd.key cmd.value response.err response.data
#types time string addr port addr port string string string bool string
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 PING - - F PONG
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 PING - - F PONG
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 SET HI 3 F OK
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc ::1 56731 ::1 6379 GET HI - F -
#close XXXX-XX-XX-XX-XX-XX