Created
June 1, 2018 03:47
-
-
Save antklim/f84c6d223241714ecd0b9a460eac8021 to your computer and use it in GitHub Desktop.
Go Micro greeter protobuf definition
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"; | |
package pb; | |
service Greeter { | |
rpc Greeting(GreetingRequest) returns (GreetingResponse) {} | |
} | |
message GreetingRequest { | |
string name = 1; | |
} | |
message GreetingResponse { | |
string greeting = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment