Created
February 1, 2019 01:10
-
-
Save f3nry/77393d6f8ad2664c3fc316b16be08d36 to your computer and use it in GitHub Desktop.
Simple gRPC Protobuf
This file contains hidden or 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
// Location: api/hello.proto | |
syntax = "proto3"; | |
option go_package = "api"; | |
service Prod { | |
rpc Alive(AliveRequest) returns (AliveResponse) {} | |
} | |
message AliveRequest { | |
string message = 1; | |
} | |
message AliveResponse { | |
string message = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment