Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
*raftboltdb.BoltStore
}
Log is an object that can return information about the Raft log.
func (*Log) LastCommandIndex ¶
LastCommandIndex returns the index of the last Command log entry written to the Raft log. Returns an index of zero if no such log exists.
Click to show internal directories.
Click to hide internal directories.