Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
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.
 
 
 
 
 
 

19 lines
328 B

syntax = "proto3";
message Function {
string name = 1;
repeated Function.Parameter parameters = 2;
string return_type = 3;
message Parameter {
string name = 1;
Function.Parameter.Value value = 2;
message Value {
oneof type {
string string = 1;
int64 integer = 2;
}
}
}
}