Commit Graph

14 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
83bd37f182 Moved server and client configs into their separate folders instead of in a shared utils folder 2023-07-22 01:12:44 +08:00
Kelvin Clement Mwinuka
5507f32c73 Installed memberlist package to for cluster member discovery. 2023-07-21 05:48:20 +08:00
Kelvin Clement Mwinuka
70d8ad89bc Implemented basic raft server and cluster bootstraping 2023-07-20 11:59:59 +08:00
Kelvin Clement Mwinuka
bb74a5b5cf Added server and client configurations to support cluser identification and specific cluster node connection. Implemented starting of new raft node. 2023-07-19 23:24:05 +08:00
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
91e1ba5555 Moved serialization functions to utils. 2023-07-13 12:03:00 +08:00
Kelvin Clement Mwinuka
fb598ce9a7 Implemented LREM command 2023-07-10 15:56:53 +08:00
Kelvin Clement Mwinuka
7cd04a67e5 Implemented LSET command 2023-07-09 20:57:13 +08:00
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