Skip to content

Instantly share code, notes, and snippets.

@danrl
Created January 29, 2019 20:35
Show Gist options
  • Save danrl/1342bb13c94bd51236e06580b6eb46c0 to your computer and use it in GitHub Desktop.
Save danrl/1342bb13c94bd51236e06580b6eb46c0 to your computer and use it in GitHub Desktop.
syntax = "proto3";
message GuessRequest {
int32 red = 1;
int32 green = 2;
int32 blue = 3;
}
message GuessResponse {
string result = 1;
}
service FavoriteColor {
rpc Guess(GuessRequest) returns (GuessResponse);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment