Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Last active December 22, 2020 14:47
Show Gist options
  • Save percybolmer/c16757353368f4e760c86c6dee41baf6 to your computer and use it in GitHub Desktop.
Save percybolmer/c16757353368f4e760c86c6dee41baf6 to your computer and use it in GitHub Desktop.
A example proto of a user service
syntax = "proto3";
package main;
option go_package=".;pingpong";
message PingRequest {
}
message PongResponse {
bool ok = 1;
}
service PingPong{
rpc Ping(PingRequest) returns (PongResponse) {};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment