Documentation
      ¶
    
    
  
    
  
    Index ¶
- func RaftId(wals *badger.ManagedDB) (uint64, error)
 - type Wal
 - func (w *Wal) Entries(gid uint32, fromTerm, fromIndex uint64) (es []raftpb.Entry, rerr error)
 - func (w *Wal) HardState(gid uint32) (hd raftpb.HardState, rerr error)
 - func (w *Wal) Snapshot(gid uint32) (snap raftpb.Snapshot, rerr error)
 - func (w *Wal) Store(gid uint32, h raftpb.HardState, es []raftpb.Entry) error
 - func (w *Wal) StoreRaftId(id uint64) error
 - func (w *Wal) StoreSnapshot(gid uint32, s raftpb.Snapshot) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.