FirstIndex is a method on FlyDbStore that returns the first index in the log
()
| 38 | |
| 39 | // FirstIndex is a method on FlyDbStore that returns the first index in the log |
| 40 | func (fds *FlyDbStore) FirstIndex() (uint64, error) { |
| 41 | return fds.firstIndex, nil |
| 42 | } |
| 43 | |
| 44 | // LastIndex is a method on FlyDbStore that returns the last index in the log |
| 45 | func (fds *FlyDbStore) LastIndex() (uint64, error) { |
no outgoing calls