added simple kv store
This commit is contained in:
parent
16a145bef4
commit
b0d13076e0
10 changed files with 312 additions and 105 deletions
|
|
@ -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"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue