Commit Graph

12 Commits

Author SHA1 Message Date
Kelvin Mwinuka
54d0ae700a Removed Opts from echovault. NewEchoVault now entirely uses the option pattern 2024-03-25 17:22:18 +08:00
Kelvin Mwinuka
ba2ebaa6da Renamed 'server' package to 'echovault' 2024-03-25 16:26:09 +08:00
Kelvin Mwinuka
93cfb9caeb Renames Server struct and utils.Server interface to EchoVault and utils.EchoVault respectively 2024-03-25 16:23:16 +08:00
Kelvin Mwinuka
4bc1f44e1d Added Apache 2.0 license header to all go files in src folder 2024-03-24 18:30:17 +08:00
Kelvin Mwinuka
d08231f82f Implemented unit test for PUBSUB NUMSUB command handler 2024-03-20 13:27:58 +08:00
Kelvin Mwinuka
a19bfa8f73 Implemented rlocking/runlocking of rwmutex in Channel IsActive and NumSubs receiver functions. Implemented PUBSUB NUMPAT handler unit test 2024-03-20 12:36:03 +08:00
Kelvin Mwinuka
f41e2f6ff3 Added RWMutexes in PubSub Subscribe, Unsubscribe, and Channels receiver functions. Implemented test for PUBSUB CHANNELS command handler 2024-03-20 04:58:03 +08:00
Kelvin Mwinuka
28f659033e Removed discord label from README.md. Updated SUBSCRIBE command handler to send psubscribe event to connection when subscribing to a pattern. 2024-03-20 00:18:38 +08:00
Kelvin Mwinuka
59a03aec2c Added test for PUBLISH command handler 2024-03-18 14:05:49 +08:00
Kelvin Mwinuka
dbfa398543 Implemented tests for SUBSCRIBE, PSUBSCRIBE, UNSUBSCRIBE, and PUNSUBSCRIBE command handlers 2024-03-17 02:41:49 +08:00
Kelvin Mwinuka
e685d5041b Updated test suites to set mock server only once in each suite instead of instantiating it in every test. 2024-03-15 03:44:42 +08:00
Kelvin Mwinuka
b49a0e24bc Created command test file in pubsub module 2024-03-14 23:55:14 +08:00