Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type StableStore ¶
type StableStore interface { raft.StableStore io.Closer }
StableStore combines raft.StableStore and io.Closer
func NewStableStore ¶
func NewStableStore(dir string, opt *badger.Options) (StableStore, error)
NewStableStore uses the supplied options to open a stable store. badger.DefaultOptions will be used, if nil is passed for opt.
Click to show internal directories.
Click to hide internal directories.