Skip to content

Instantly share code, notes, and snippets.

@TonPC64
Created February 24, 2022 14:42
Show Gist options
  • Save TonPC64/658adec20b0ce5d7bef0697d26442d19 to your computer and use it in GitHub Desktop.
Save TonPC64/658adec20b0ce5d7bef0697d26442d19 to your computer and use it in GitHub Desktop.
syntax = "proto3";
package api;
option go_package = "../api";
service HelloService {
rpc SayHello (HelloRequest) returns (HelloResponse);
}
message HelloRequest {
string greeting = 1;
}
message HelloResponse {
string reply = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment