Skip to content

Instantly share code, notes, and snippets.

@nodirt
Created February 8, 2016 03:17
Show Gist options
  • Save nodirt/c53037c4aae85e398ff0 to your computer and use it in GitHub Desktop.
Save nodirt/c53037c4aae85e398ff0 to your computer and use it in GitHub Desktop.
// helloworld.proto
syntax = "proto3";
package helloworld;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment