12345678910111213141516171819202122 |
- package protobuf;
- import "github.com/gogo/protobuf/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 LogEntry {
- required uint64 Index=1;
- required uint64 Term=2;
- required string CommandName=3;
- optional bytes Command=4; // for nop-command
- }
|