21 lines
653 B
Protocol Buffer
21 lines
653 B
Protocol Buffer
package protobuf;
|
|
|
|
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;
|
|
|
|
message SnapshotRequest {
|
|
required string LeaderName=1;
|
|
required uint64 LastIndex=2;
|
|
required uint64 LastTerm=3;
|
|
} |