2013-07-18 16:26:31 +00:00
|
|
|
package protobuf;
|
|
|
|
|
2014-01-11 12:21:54 +00:00
|
|
|
import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
option (gogoproto.gostring_all) = true;
|
|
|
|
option (gogoproto.equal_all) = true;
|
|
|
|
option (gogoproto.verbose_equal_all) = true;
|
|
|
|
option (gogoproto.goproto_stringer_all) = false;
|
|
|
|
option (gogoproto.stringer_all) = true;
|
|
|
|
option (gogoproto.populate_all) = true;
|
|
|
|
option (gogoproto.testgen_all) = true;
|
|
|
|
option (gogoproto.benchgen_all) = true;
|
|
|
|
option (gogoproto.marshaler_all) = true;
|
|
|
|
option (gogoproto.sizer_all) = true;
|
|
|
|
option (gogoproto.unmarshaler_all) = true;
|
|
|
|
|
2013-07-18 16:26:31 +00:00
|
|
|
message ProtoAppendEntriesResponse {
|
|
|
|
required uint64 Term=1;
|
|
|
|
required uint64 Index=2;
|
|
|
|
required uint64 CommitIndex=3;
|
|
|
|
required bool Success=4;
|
|
|
|
}
|