Commit Graph

17 Commits

Author SHA1 Message Date
Kelvin Mwinuka
108bf97b4d Extend SugarDB Commands Using Lua Scripts (#155)
* Extend SugarDB by creating new commands using Lua - @kelvinmwinuka
2024-12-12 09:50:43 +08:00
Kelvin Mwinuka
703ad2a802 Rename the project to SugarDB. (#130)
Renames project to "SugarDB" - @kelvinmwinuka
2024-09-22 21:31:12 +08:00
Kelvin Mwinuka
fa1be7ccf8 Updated README.md to include new commands 2024-07-04 09:50:54 +08:00
Kelvin Mwinuka
f4fdc789b3 Added description for the HELLO command 2024-07-01 09:23:58 +08:00
Kelvin Mwinuka
f867bca8e4 Implemented test for SWAPDB command. 2024-07-01 06:05:44 +08:00
Kelvin Mwinuka
4dd3aa40b2 quit 2024-07-01 06:05:19 +08:00
Kelvin Mwinuka
9e4b61fce7 Implemented SWAPDB command handler. 2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
dc9b33bc15 Added ability to set the connection's database in SetConnectionInfo function. Implemented SELECT command to allow TCP connections to select a different database. 2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
21aabda04d Moved AUTH command from the acl module to the connection module. Added echo command to the list of commands that are skipped on ACL authorization. 2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
93a165e9f9 Added support for HELLO command.
Load modules build from Dockerfile.dev into instances from docker-compose.yml.
Fixed user loading from config file in ACL module.
2024-07-01 06:05:07 +08:00
Sahil
1965f9b9c8 added echo command 2024-06-18 15:47:49 +05:30
Kelvin Clement Mwinuka
c634b1b20e Return ok boolean instead of OK string in embedded api methods that return ok status. Updated tests to match new return types 2024-05-18 22:49:21 +08:00
Kelvin Clement Mwinuka
281c4f27a7 Added godoc commends for embedded methods and types to extend commands. Moved constants to internal directory 2024-04-29 15:20:10 +08:00
Kelvin Clement Mwinuka
c241cc07b1 Renamed *AccessKey type to better represent the response on *KeyExtractionFunc types 2024-04-28 07:34:34 +08:00
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 Clement Mwinuka
b6ddb43a49 Removed duplicate imports for set, sorted_set, pubsub and acl modules. Moved /modules from /pkg to /internal. Delted commands package: Commands will now be automatically loaded when an EchoVault instance is initialised. 2024-04-24 22:37:16 +08:00