Skip to content

Instantly share code, notes, and snippets.

@FerdinaKusumah
Created April 5, 2022 13:55
Show Gist options
  • Save FerdinaKusumah/322ef7ff842aae1b287e3c2579ba2371 to your computer and use it in GitHub Desktop.
Save FerdinaKusumah/322ef7ff842aae1b287e3c2579ba2371 to your computer and use it in GitHub Desktop.
hello protobuff
syntax = "proto3";
option go_package = "proto/hello.proto;hello_proto";
package proto;
service HelloService {
rpc SayHello(HelloRequest) returns (HelloResponse) {}
}
message HelloRequest {
string name = 1;
}
message HelloResponse {
string message = 1;
string name = 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment