Versions in this module Expand all Collapse all v0 v0.1.0 Aug 11, 2013 Changes in this version + type ProtoAppendEntriesRequest struct + CommitIndex *uint64 + Entries []*ProtoAppendEntriesRequest_ProtoLogEntry + LeaderName *string + PrevLogIndex *uint64 + PrevLogTerm *uint64 + Term *uint64 + XXX_unrecognized []byte + func (*ProtoAppendEntriesRequest) ProtoMessage() + func (m *ProtoAppendEntriesRequest) GetCommitIndex() uint64 + func (m *ProtoAppendEntriesRequest) GetEntries() []*ProtoAppendEntriesRequest_ProtoLogEntry + func (m *ProtoAppendEntriesRequest) GetLeaderName() string + func (m *ProtoAppendEntriesRequest) GetPrevLogIndex() uint64 + func (m *ProtoAppendEntriesRequest) GetPrevLogTerm() uint64 + func (m *ProtoAppendEntriesRequest) GetTerm() uint64 + func (m *ProtoAppendEntriesRequest) Reset() + func (m *ProtoAppendEntriesRequest) String() string + type ProtoAppendEntriesRequest_ProtoLogEntry struct + Command []byte + CommandName *string + Index *uint64 + Term *uint64 + XXX_unrecognized []byte + func (*ProtoAppendEntriesRequest_ProtoLogEntry) ProtoMessage() + func (m *ProtoAppendEntriesRequest_ProtoLogEntry) GetCommand() []byte + func (m *ProtoAppendEntriesRequest_ProtoLogEntry) GetCommandName() string + func (m *ProtoAppendEntriesRequest_ProtoLogEntry) GetIndex() uint64 + func (m *ProtoAppendEntriesRequest_ProtoLogEntry) GetTerm() uint64 + func (m *ProtoAppendEntriesRequest_ProtoLogEntry) Reset() + func (m *ProtoAppendEntriesRequest_ProtoLogEntry) String() string + type ProtoAppendEntriesResponse struct + CommitIndex *uint64 + Index *uint64 + Success *bool + Term *uint64 + XXX_unrecognized []byte + func (*ProtoAppendEntriesResponse) ProtoMessage() + func (m *ProtoAppendEntriesResponse) GetCommitIndex() uint64 + func (m *ProtoAppendEntriesResponse) GetIndex() uint64 + func (m *ProtoAppendEntriesResponse) GetSuccess() bool + func (m *ProtoAppendEntriesResponse) GetTerm() uint64 + func (m *ProtoAppendEntriesResponse) Reset() + func (m *ProtoAppendEntriesResponse) String() string + type ProtoLogEntry struct + Command []byte + CommandName *string + Index *uint64 + Term *uint64 + XXX_unrecognized []byte + func (*ProtoLogEntry) ProtoMessage() + func (m *ProtoLogEntry) GetCommand() []byte + func (m *ProtoLogEntry) GetCommandName() string + func (m *ProtoLogEntry) GetIndex() uint64 + func (m *ProtoLogEntry) GetTerm() uint64 + func (m *ProtoLogEntry) Reset() + func (m *ProtoLogEntry) String() string + type ProtoRequestVoteRequest struct + CandidateName *string + LastLogIndex *uint64 + LastLogTerm *uint64 + Term *uint64 + XXX_unrecognized []byte + func (*ProtoRequestVoteRequest) ProtoMessage() + func (m *ProtoRequestVoteRequest) GetCandidateName() string + func (m *ProtoRequestVoteRequest) GetLastLogIndex() uint64 + func (m *ProtoRequestVoteRequest) GetLastLogTerm() uint64 + func (m *ProtoRequestVoteRequest) GetTerm() uint64 + func (m *ProtoRequestVoteRequest) Reset() + func (m *ProtoRequestVoteRequest) String() string + type ProtoRequestVoteResponse struct + Term *uint64 + VoteGranted *bool + XXX_unrecognized []byte + func (*ProtoRequestVoteResponse) ProtoMessage() + func (m *ProtoRequestVoteResponse) GetTerm() uint64 + func (m *ProtoRequestVoteResponse) GetVoteGranted() bool + func (m *ProtoRequestVoteResponse) Reset() + func (m *ProtoRequestVoteResponse) String() string + type ProtoSnapshotRecoveryRequest struct + LastIndex *uint64 + LastTerm *uint64 + LeaderName *string + Peers []string + State []byte + XXX_unrecognized []byte + func (*ProtoSnapshotRecoveryRequest) ProtoMessage() + func (m *ProtoSnapshotRecoveryRequest) GetLastIndex() uint64 + func (m *ProtoSnapshotRecoveryRequest) GetLastTerm() uint64 + func (m *ProtoSnapshotRecoveryRequest) GetLeaderName() string + func (m *ProtoSnapshotRecoveryRequest) GetPeers() []string + func (m *ProtoSnapshotRecoveryRequest) GetState() []byte + func (m *ProtoSnapshotRecoveryRequest) Reset() + func (m *ProtoSnapshotRecoveryRequest) String() string + type ProtoSnapshotRecoveryResponse struct + CommitIndex *uint64 + Success *bool + Term *uint64 + XXX_unrecognized []byte + func (*ProtoSnapshotRecoveryResponse) ProtoMessage() + func (m *ProtoSnapshotRecoveryResponse) GetCommitIndex() uint64 + func (m *ProtoSnapshotRecoveryResponse) GetSuccess() bool + func (m *ProtoSnapshotRecoveryResponse) GetTerm() uint64 + func (m *ProtoSnapshotRecoveryResponse) Reset() + func (m *ProtoSnapshotRecoveryResponse) String() string + type ProtoSnapshotRequest struct + LastIndex *uint64 + LastTerm *uint64 + LeaderName *string + XXX_unrecognized []byte + func (*ProtoSnapshotRequest) ProtoMessage() + func (m *ProtoSnapshotRequest) GetLastIndex() uint64 + func (m *ProtoSnapshotRequest) GetLastTerm() uint64 + func (m *ProtoSnapshotRequest) GetLeaderName() string + func (m *ProtoSnapshotRequest) Reset() + func (m *ProtoSnapshotRequest) String() string + type ProtoSnapshotResponse struct + Success *bool + XXX_unrecognized []byte + func (*ProtoSnapshotResponse) ProtoMessage() + func (m *ProtoSnapshotResponse) GetSuccess() bool + func (m *ProtoSnapshotResponse) Reset() + func (m *ProtoSnapshotResponse) String() string