struct Raft::RPC::RequestVoteResponse

Overview

Response to a RequestVote RPC.

Defined in:

raft/rpc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(term : UInt64, vote_granted : Bool) #

[View source]

Instance Method Detail

def term : UInt64 #

The responder's current term.


[View source]
def type : Type #

[View source]
def vote_granted? : Bool #

true if the vote was granted.


[View source]