Created
February 15, 2019 06:45
-
-
Save jayden-lee/20f608bf6912e1a590b106a1e0ef795c to your computer and use it in GitHub Desktop.
Proto Sample File
This file contains 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 = "com.jayden.grpc.examples.helloworld"; | |
option java_outer_classname = "HelloWorldProto"; | |
package helloworld; | |
// 서비스 정의 | |
service Greeter { | |
rpc SayHello (HelloRequest) returns (HelloResponse); | |
} | |
message HelloRequest { | |
string name = 1; | |
} | |
message HelloResponse { | |
string message = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment