mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 09:40:24 +08:00
856b5aadb1
* reactor alert * optimize * add test case * update the target directory in case proto contains option * fix missing comments and format code
18 lines
258 B
Protocol Buffer
18 lines
258 B
Protocol Buffer
// test proto
|
|
syntax = "proto3";
|
|
|
|
package stream;
|
|
|
|
option go_package="github.com/tal-tech/go-zero";
|
|
|
|
message StreamReq {
|
|
string name = 1;
|
|
}
|
|
|
|
message StreamResp {
|
|
string greet = 1;
|
|
}
|
|
|
|
service StreamGreeter {
|
|
rpc greet (StreamReq) returns (StreamResp);
|
|
} |