Versions in this module Expand all Collapse all v0 v0.0.1 Jun 6, 2024 Changes in this version + type RaftStore interface + Delete func(key string) error + Get func(key string) (string, error) + Join func(nodeID string, addr string) error + Open func(enableSingle bool, localID string) error + Raft func() *raft.Raft + Remove func(nodeID, addr string) error + ScanKeys func(p string) []string + ScanKvs func(p string) map[string]string + Set func(key, value string, exp int64) error + func GetRaftStore() RaftStore + func New(dataDir, raftDir, raftBindAddr string) RaftStore