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.

24 lines
618 B

  1. syntax = "proto3";
  2. package common;
  3. // For more information on gogo.proto, see:
  4. // https://github.com/gogo/protobuf/blob/master/extensions.md
  5. // NOTE: Try really hard not to use custom types,
  6. // it's often complicated, broken, nor not worth it.
  7. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  8. //----------------------------------------
  9. // Abstract types
  10. // Define these here for compatibility but use tmlibs/common.KVPair.
  11. message KVPair {
  12. bytes key = 1;
  13. bytes value = 2;
  14. }
  15. // Define these here for compatibility but use tmlibs/common.KI64Pair.
  16. message KI64Pair {
  17. bytes key = 1;
  18. int64 value = 2;
  19. }