You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
712 B

  1. syntax = "proto3";
  2. package common;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option (gogoproto.marshaler_all) = true;
  5. option (gogoproto.unmarshaler_all) = true;
  6. option (gogoproto.sizer_all) = true;
  7. option (gogoproto.goproto_registration) = true;
  8. // Generate tests
  9. option (gogoproto.populate_all) = true;
  10. option (gogoproto.equal_all) = true;
  11. option (gogoproto.testgen_all) = true;
  12. //----------------------------------------
  13. // Abstract types
  14. // Define these here for compatibility but use tmlibs/common.KVPair.
  15. message KVPair {
  16. bytes key = 1;
  17. bytes value = 2;
  18. }
  19. // Define these here for compatibility but use tmlibs/common.KI64Pair.
  20. message KI64Pair {
  21. bytes key = 1;
  22. int64 value = 2;
  23. }