mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-25 02:08:44 +08:00
15 lines
213 B
Protocol Buffer
15 lines
213 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package stream;
|
|
|
|
message StreamReq {
|
|
string name = 1;
|
|
}
|
|
|
|
message StreamResp {
|
|
string greet = 1;
|
|
}
|
|
|
|
service StreamGreeter {
|
|
rpc greet(stream StreamReq) returns (stream StreamResp);
|
|
} |