* reactor alert * optimize * add test case * update the target directory in case proto contains option * fix missing comments and format code
18 lines
231 B
Protocol Buffer
18 lines
231 B
Protocol Buffer
// test proto
|
|
syntax = "proto3";
|
|
|
|
package greet;
|
|
import "base/common.proto";
|
|
|
|
message In {
|
|
string name = 1;
|
|
common.User user = 2;
|
|
}
|
|
|
|
message Out {
|
|
string greet = 1;
|
|
}
|
|
|
|
service StreamGreeter {
|
|
rpc greet (In) returns (Out);
|
|
} |