first commit
This commit is contained in:
14
app/Proto/grpc.proto
Executable file
14
app/Proto/grpc.proto
Executable file
@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
package grpc;
|
||||
service hi {
|
||||
rpc sayHello (HiUser) returns (HiReply) {
|
||||
}
|
||||
}
|
||||
message HiUser {
|
||||
string name = 1;
|
||||
int32 sex = 2;
|
||||
}
|
||||
message HiReply {
|
||||
string message = 1;
|
||||
HiUser user = 2;
|
||||
}
|
Reference in New Issue
Block a user