added simple kv store

This commit is contained in:
ston1th 2020-11-14 00:54:18 +01:00
commit b0d13076e0
10 changed files with 312 additions and 105 deletions

View file

@ -20,7 +20,7 @@ func ParseFile(file string) (cfg *Config, err error) {
}
type Config struct {
DBFile string `yaml:"dbFile"`
RaftDir string `yaml:"raftDir"`
Leader bool `yaml:"leader"`