go-zero/tools/goctl/rpc/generator/test_stream.proto
Keson 856b5aadb1
rpc generation fix (#184)
* reactor alert

* optimize

* add test case

* update the target directory in case proto contains option

* fix missing comments and format code
2020-11-05 19:08:34 +08:00

17 lines
227 B
Protocol Buffer

// test proto
syntax = "proto3";
package stream;
message StreamReq {
string name = 1;
}
message StreamResp {
string greet = 1;
}
service StreamGreeter {
// greet service
rpc greet (StreamReq) returns (StreamResp);
}