You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
257 B
Protocol Buffer
18 lines
257 B
Protocol Buffer
4 years ago
|
// 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);
|
||
|
}
|