Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message GetStateReq

structs.proto:60

Get the current state of the node

(message has no fields)

message GetStateResp

structs.proto:61

message HeartBeatReq

structs.proto:16

Sent by the leader of the election to all followers

message HeartBeatResp

structs.proto:24

Response to a heart beat request

message ResetElectionReq

structs.proto:5

Resets the current state of a node to 'candidate'

(message has no fields)

message ResetElectionResp

structs.proto:6

(message has no fields)

message ResignReq

structs.proto:9

Asks the node to resign as leader

(message has no fields)

message ResignResp

structs.proto:10

message SetPeersReq

structs.proto:54

Set the peers this node will consider during the election. This is typically set by calling Node.SetPeers() but the implementor could choose to allow a remote entity to set the peer list via Node.ReceiveRPC(). This can be blocked by refusing to accept election.SetPeersRPC calls.

message SetPeersResp

structs.proto:57

(message has no fields)

message VoteReq

structs.proto:42

A vote request sent to all peers at the start of an election.

message VoteResp

structs.proto:31