Commit Graph

18 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
ca7ada5731 Updated AdaptType function in utils to use big float and int64 for number coversions.
Updated setget and setget_test to account for new number formatting change.
2023-07-17 01:20:58 +08:00
Kelvin Clement Mwinuka
0549bcc745 Added tests for SET, GET, and MGET commands 2023-07-16 01:28:26 +08:00
Kelvin Clement Mwinuka
b5cadf43a7 Created writer mock.
Created mock server.
Added test for ping command plugin.
2023-07-13 18:37:53 +08:00
Kelvin Clement Mwinuka
1e4aa42c2d Implemented LMOVE command 2023-07-11 09:12:10 +08:00
Kelvin Clement Mwinuka
fb598ce9a7 Implemented LREM command 2023-07-10 15:56:53 +08:00
Kelvin Clement Mwinuka
f707f36ec1 Scaffolding for LREM command 2023-07-10 00:13:18 +08:00
Kelvin Clement Mwinuka
176001798f Implemented LTRIM command 2023-07-10 00:07:02 +08:00
Kelvin Clement Mwinuka
d0ef1868ff Created handler for LTRIM command 2023-07-09 21:00:01 +08:00
Kelvin Clement Mwinuka
7cd04a67e5 Implemented LSET command 2023-07-09 20:57:13 +08:00
Kelvin Clement Mwinuka
38bf510d0d Implemented LINDEX command 2023-07-08 20:05:57 +08:00
Kelvin Clement Mwinuka
74fea27a32 Implemented llen command 2023-07-08 19:30:26 +08:00
Kelvin Clement Mwinuka
f0c3526138 Implemented LPOP and RPOP commands 2023-07-08 19:15:46 +08:00
Kelvin Clement Mwinuka
6d2f515c88 Imlemented LPUSHX and RPUSHX commands 2023-07-08 18:47:26 +08:00
Kelvin Clement Mwinuka
2ea87c64f3 Implemented LPUSH, RPUSH, and LRANGE commands 2023-07-05 07:10:59 +08:00
Kelvin Clement Mwinuka
f744ed8a06 Created list plugin with comprehensive list of commands to be handled by the plugin 2023-07-05 01:14:32 +08:00
Kelvin Clement Mwinuka
3f39a23f13 Created plugin for PING command 2023-07-04 04:59:14 +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
58d6664faa Added plugins folder location in config for the server.
Created get and ser plugin files.
Created server function to load plugins.
Moved Makefile inside server folder to build and run server.
2023-07-03 08:39:19 +08:00