Skip to content

Instantly share code, notes, and snippets.

@wfng92
Created September 8, 2022 07:27
Show Gist options
  • Save wfng92/84912284d7f613f675335fdd6c7e23ff to your computer and use it in GitHub Desktop.
Save wfng92/84912284d7f613f675335fdd6c7e23ff to your computer and use it in GitHub Desktop.
syntax = "proto3";
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (StringResponse) {}
}
message HelloRequest {
string name = 1;
int32 age = 2;
}
message StringResponse {
string message = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment