You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			428 B
		
	
	
	
		
			Protocol Buffer
		
	
			
		
		
	
	
			30 lines
		
	
	
		
			428 B
		
	
	
	
		
			Protocol Buffer
		
	
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;
 | 
						|
}
 |