module Raft
Constants
- AppendEntriesRequest
class
RequestVoteResponse
< Struct.new(:term, :vote_granted)def term; @term.to_i; end
end
- AppendEntriesResponse
- CommandRequest
- CommandResponse
- Config
- FollowerState
- RequestVoteRequest
- RequestVoteResponse
class
RequestVoteRequest
< Struct.new(:term, :candidate_id, :last_log_index, :last_log_term)def term; @term.to_i; end def last_log_index; @last_log_index.to_i; end def last_log_term; @last_log_term.to_i; end
end