mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-29 23:42:12 +08:00
12 lines
165 B
Protocol Buffer
12 lines
165 B
Protocol Buffer
package example;
|
|
|
|
message Word
|
|
{
|
|
required string word = 1;
|
|
};
|
|
|
|
service WordFuncs {
|
|
rpc Uppercase (Word) returns (Word);
|
|
rpc Lowercase (Word) returns (Word);
|
|
}
|