1
0
Fork 0

Migrate to tonic

This commit is contained in:
Florian RICHER 2023-01-26 22:12:59 +01:00
parent 6d1582792c
commit 7a9b9c0f09
10 changed files with 1014 additions and 79 deletions

17
proto/helloworld.proto Normal file
View file

@ -0,0 +1,17 @@
syntax = "proto3";
package helloworld;
service Greeter {
// Our SayHello rpc accepts HelloRequests and returns HelloReplies
rpc SayHello (HelloRequest) returns (HelloReply);
}
message HelloRequest {
// Request message contains the name to be greeted
string name = 1;
}
message HelloReply {
// Reply contains the greeting message
string message = 1;
}