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
|
d9f1b2276a
|
Removed context parameter from EchoVault, raft, and memberlist shutdown functions
|
2024-03-26 18:58:53 +08:00 |
|
Kelvin Mwinuka
|
7fff89a250
|
Removed context argumebt from server start method in cmd/main.go
|
2024-03-26 18:52:22 +08:00 |
|
Kelvin Mwinuka
|
88a8e2aae6
|
Created DefaultConfig to be used when embedding echovaule. Moved ACL and PubSub to internal packages with only the associated commands in the modules folder. Initialise ACL and PubSub when creating new EchoVault instance which removed the need to pass WithACL and WithPubSub options.
|
2024-03-26 18:15:27 +08:00 |
|
Kelvin Mwinuka
|
7c39e5f477
|
Created commands and config packages in pkg folder for easy import
|
2024-03-26 15:04:05 +08:00 |
|
Kelvin Mwinuka
|
7fac4143f5
|
Moved utils.go file to internals folder
|
2024-03-26 14:00:18 +08:00 |
|
Kelvin Mwinuka
|
5c86fb6215
|
Moved main.go file to cmd subfolder. Renamed src folder to pkg folder as it will contain all the importable package code. Moved config.go to new internals folder
|
2024-03-25 21:13:40 +08:00 |
|