Commit Graph

11 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
97f4617d86 Moved all packages from /pkg directory to the root directory. Deleted /pkg directory. Pass keyspace functions to raft package instead of an EchoVault instance. This removes dependency on the echovault pakage from the raft package. 2024-04-28 00:37:45 +08:00
Kelvin Clement Mwinuka
6ad3b7baab Exported EchoVault interface now onlu contains the keyspace methods. All other methods are private. Private methods are accessed using the reflect package in the test folder 2024-04-26 02:33:35 +08:00
Kelvin Mwinuka
d7c3509533 Created 'constants' package for const.go file and 'types' package for shared and exported types 2024-04-01 18:32:01 +08:00
Kelvin Mwinuka
f061af6de6 Implemented tests for sorted set API 2024-03-31 05:55:26 +08:00
Kelvin Mwinuka
8a8a3573bf ZSCORE API now returns nil if there are no scores to return 2024-03-29 04:42:02 +08:00
Kelvin Mwinuka
d7fd7616a3 Implemented outward-facing API for sorted set module commands 2024-03-29 03:42:49 +08:00
Kelvin Mwinuka
76568285ab Implemented outward-facing API for SET module commands 2024-03-28 22:52:32 +08:00
Kelvin Mwinuka
1d15b89b87 Created outward-facing API for hash module commands 2024-03-28 21:31:14 +08:00
Kelvin Mwinuka
ede32b481f Created outward-facing API or generic module commands 2024-03-28 19:36:55 +08:00
Kelvin Mwinuka
bc188cfea4 Moved some types into internal folder as they will do not need to be exported. Changed GetState method to getState to make it private to the echovault package 2024-03-26 20:26:48 +08:00
Kelvin Mwinuka
7fac4143f5 Moved utils.go file to internals folder 2024-03-26 14:00:18 +08:00