Skip to content

Instantly share code, notes, and snippets.

@brianpgerson
Created December 16, 2020 00:48
Show Gist options
  • Save brianpgerson/bfea9d5d7008bd6f9c6f20467d4b55c8 to your computer and use it in GitHub Desktop.
Save brianpgerson/bfea9d5d7008bd6f9c6f20467d4b55c8 to your computer and use it in GitHub Desktop.
syntax = "proto3";
package hello;
message HelloRequest {
string name = 1;
}
message HelloResponse {
string greeting = 1;
string errors = 2;
}
service HelloService {
rpc Hello(HelloRequest) returns (HelloResponse) {};
rpc HelloNoAuth(HelloRequest) returns (HelloResponse) {};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment