Skip to content

Instantly share code, notes, and snippets.

@nleiva
Created July 9, 2019 15:03
Show Gist options
  • Save nleiva/94b466a7a495593d2d5843d0aa68a82c to your computer and use it in GitHub Desktop.
Save nleiva/94b466a7a495593d2d5843d0aa68a82c to your computer and use it in GitHub Desktop.
syntax = "proto3";
package test;
service gUMI {
rpc GetByID (GetByIDRequest) returns (User);
}
message GetByIDRequest {
uint32 id = 1;
}
message User {
string name = 1;
string email = 2;
uint32 id = 3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment