garnet
garnet copied to clipboard
Supported RESP Commands Info
- Restructuring RespCommandInfo to read supported RESP commands info from JSON file (Garnet.server/Resp/RespCommandsInfo.json)
- Adding support for specifying command info when registering custom commands (example implemented in GarnetServer, parsing custom command info from GarnetServer/CustomRespCommandsInfo.json)
- Implementing COMMAND, COMMAND INFO & COMMAND COUNT RESP commands, matching information returned with Redis
- Implementing serialization & deserialization of command info to/from JSON and to/from RESP
- Adding CommandInfoUpdater tool for easily adding / removing supported commands & sub-commands info, generating an updated JSON file to replace RespCommandsInfo.json
- Adding tests for new commands specified in #4
Few small nits for RESP writing/parsing parts, can be left as follow ups too.
Much appreciated @PaulusParssinen! #Closed