Created
July 16, 2019 00:14
-
-
Save karreiro/501add9efbe23da4c094359104724db0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| syntax = "proto3"; | |
| option java_multiple_files = true; | |
| option java_package = "io.grpc.examples.helloworld"; | |
| option java_outer_classname = "HelloWorldProto"; | |
| package helloworld; | |
| // The greeting service definition. | |
| service Greeter { | |
| // Sends a greeting | |
| rpc SayHello (HelloRequest) returns (HelloReply) {} | |
| } | |
| // The request message containing the user's name. | |
| message HelloRequest { | |
| string name = 1; | |
| } | |
| // The response message containing the greetings | |
| message HelloReply { | |
| string message = 1; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment