Skip to content

Instantly share code, notes, and snippets.

@ru-rocker
Created February 20, 2017 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ru-rocker/458ec34a0fff80ce87d3bf12ab31ba5a to your computer and use it in GitHub Desktop.
Save ru-rocker/458ec34a0fff80ce87d3bf12ab31ba5a to your computer and use it in GitHub Desktop.
protob descriptor
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