Created
July 9, 2019 15:03
-
-
Save nleiva/94b466a7a495593d2d5843d0aa68a82c to your computer and use it in GitHub Desktop.
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 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