mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
db87fd3239
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
17 lines
280 B
Protocol Buffer
17 lines
280 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package test;
|
|
|
|
message Req{
|
|
string input = 1;
|
|
}
|
|
|
|
message Reply{
|
|
string output = 1;
|
|
}
|
|
service TestService{
|
|
rpc ServerStream (Req) returns (stream Reply);
|
|
rpc ClientStream (stream Req) returns (Reply);
|
|
rpc Stream (stream Req) returns (stream Reply);
|
|
}
|