Last active
December 22, 2020 14:47
-
-
Save percybolmer/c16757353368f4e760c86c6dee41baf6 to your computer and use it in GitHub Desktop.
A example proto of a user service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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