Created
February 20, 2017 08:26
-
-
Save ru-rocker/458ec34a0fff80ce87d3bf12ab31ba5a to your computer and use it in GitHub Desktop.
protob descriptor
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"; | |
package pb; | |
service Lorem { | |
rpc Lorem(LoremRequest) returns (LoremResponse) {} | |
} | |
message LoremRequest { | |
string requestType = 1; | |
int32 min = 2; | |
int32 max = 3; | |
} | |
message LoremResponse { | |
string message = 1; | |
string err = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment