LastIndex is a method on FlyDbStore that returns the last index in the log
()
| 43 | |
| 44 | // LastIndex is a method on FlyDbStore that returns the last index in the log |
| 45 | func (fds *FlyDbStore) LastIndex() (uint64, error) { |
| 46 | return fds.lastIndex, nil |
| 47 | } |
| 48 | |
| 49 | // GetLog is a method on FlyDbStore that retrieves a log entry by its index |
| 50 | func (fds *FlyDbStore) GetLog(index uint64, log *raft.Log) error { |
no outgoing calls