Skip to content

Instantly share code, notes, and snippets.

@Idnan
Created November 2, 2019 09:00
Show Gist options
  • Save Idnan/0fb71d23bb3ca8b0a1cf76065c87db8c to your computer and use it in GitHub Desktop.
Save Idnan/0fb71d23bb3ca8b0a1cf76065c87db8c to your computer and use it in GitHub Desktop.
syntax = "proto3";
package greeter;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloResponse);
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloResponse {
string message = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment