request.proto 428 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package ttrpc;
  3. import "proto/status.proto";
  4. option go_package = "github.com/containerd/ttrpc";
  5. message Request {
  6. string service = 1;
  7. string method = 2;
  8. bytes payload = 3;
  9. int64 timeout_nano = 4;
  10. repeated KeyValue metadata = 5;
  11. }
  12. message Response {
  13. Status status = 1;
  14. bytes payload = 2;
  15. }
  16. message StringList {
  17. repeated string list = 1;
  18. }
  19. message KeyValue {
  20. string key = 1;
  21. string value = 2;
  22. }