File: request.proto

package info (click to toggle)
golang-gogottrpc 1.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 432 kB
  • sloc: makefile: 121; sh: 35
file content (29 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
syntax = "proto3";

package ttrpc;

import "proto/status.proto";

option go_package = "github.com/containerd/ttrpc";

message Request {
	string service = 1;
	string method = 2;
	bytes payload = 3;
	int64 timeout_nano = 4;
	repeated KeyValue metadata = 5;
}

message Response {
	Status status = 1;
	bytes payload = 2;
}

message StringList {
	repeated string list = 1;
}

message KeyValue {
	string key = 1;
	string value = 2;
}