Created
July 18, 2020 11:48
-
-
Save viktortnk/2f94fe80eb9a65b742f0a05dd2acbd37 to your computer and use it in GitHub Desktop.
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 examples; | |
message Request { | |
string name = 1; | |
} | |
message Response { | |
string resp = 1; | |
} | |
message Point { | |
int32 x = 1; | |
int32 y = 2; | |
} | |
service Greeter { | |
rpc Greet(Request) returns (Response); | |
rpc Points(Request) returns (stream Point); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment