- package raft;
- import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";
- option (gogoproto.marshaler_all) = true;
- option (gogoproto.sizer_all) = true;
- option (gogoproto.unmarshaler_all) = true;
- option (gogoproto.goproto_getters_all) = false;
- message Entry {
- required int64 type = 1 [(gogoproto.nullable) = false];
- required int64 term = 2 [(gogoproto.nullable) = false];
- required int64 index = 3 [(gogoproto.nullable) = false];
- optional bytes data = 4;
- }
|