Commit Graph

6 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
2ea87c64f3 Implemented LPUSH, RPUSH, and LRANGE commands 2023-07-05 07:10:59 +08:00
Kelvin Clement Mwinuka
f3d36b3c3d Added Error to decoded types.
Removed cmd_functions.go as it is replaced by plugin system.
Consolidated get and set plugins into one plugin setget that handles GET, SET and MGET commands.
Plugins can declare multiple commands that they handle.
2023-07-03 12:35:37 +08:00
Kelvin Clement Mwinuka
9b830f9750 Removed Makefile. Added plugins config 2023-07-03 08:41:07 +08:00
Kelvin Clement Mwinuka
deda504ff0 Moved configuration parsing to utils package as it's shared by both client and server 2023-07-01 22:36:57 +08:00
Kelvin Clement Mwinuka
ef140c8427 Added array serialization to encode function. Moved message reading to utils packages as it's used by both server and client 2023-07-01 21:59:41 +08:00
Kelvin Clement Mwinuka
40be716513 Added resp package for encoding and decoding resp messages.
Created encoding functions for the following commands: ping, set, setnx, get, mget, incr, incrby, incrbyfloat.
Created utils packages for shared utility functions.
2023-06-24 05:38:59 +08:00