Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 26, 2020 12:18
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 velotiotech/28d88d9bbf29c86e0f548cb73eeaa965 to your computer and use it in GitHub Desktop.
Save velotiotech/28d88d9bbf29c86e0f548cb73eeaa965 to your computer and use it in GitHub Desktop.
syntax = "proto3";
package unary;
service Unary{
// A simple RPC.
//
// Obtains the MessageResponse at a given position.
rpc GetServerResponse(Message) returns (MessageResponse) {}
}
message Message{
string message = 1;
}
message MessageResponse{
string message = 1;
bool received = 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment