Files
go-zero/example/rpc/remote/stream/greet.proto

15 lines
213 B
Protocol Buffer
Raw Normal View History

2020-07-26 17:09:05 +08:00
syntax = "proto3";
package stream;
message StreamReq {
string name = 1;
}
message StreamResp {
string greet = 1;
}
service StreamGreeter {
rpc greet(stream StreamReq) returns (stream StreamResp);
}