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