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.
|
|
|
// test proto
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package greet;
|
|
|
|
import "base/common.proto";
|
|
|
|
|
|
|
|
message In {
|
|
|
|
string name = 1;
|
|
|
|
common.User user = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Out {
|
|
|
|
string greet = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
service StreamGreeter {
|
|
|
|
rpc greet (In) returns (Out);
|
|
|
|
}
|