23 lines
611 B
Protocol Buffer
23 lines
611 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package tendermint.libs.kv;
|
||
|
option go_package = "github.com/tendermint/tendermint/libs/kv";
|
||
|
|
||
|
import "third_party/proto/gogoproto/gogo.proto";
|
||
|
|
||
|
option (gogoproto.marshaler_all) = true;
|
||
|
option (gogoproto.unmarshaler_all) = true;
|
||
|
option (gogoproto.sizer_all) = true;
|
||
|
option (gogoproto.goproto_registration) = true;
|
||
|
// Generate tests
|
||
|
option (gogoproto.populate_all) = true;
|
||
|
option (gogoproto.equal_all) = true;
|
||
|
option (gogoproto.testgen_all) = true;
|
||
|
|
||
|
//----------------------------------------
|
||
|
// Abstract types
|
||
|
|
||
|
message Pair {
|
||
|
bytes key = 1;
|
||
|
bytes value = 2;
|
||
|
}
|