Created
September 24, 2023 12:04
-
-
Save tomatophobia/9f349ad4f273047869abddb8e3c5e3c9 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
service Echo { | |
rpc OneToOne(Message) returns (Message) {} | |
rpc OneToMany(Message) returns (stream Message) {} | |
rpc ManyToOne(stream Message) returns (Message) {} | |
rpc ManyToMany(stream Message) returns (stream Message) {} | |
} | |
message Message { | |
int32 seq = 1; | |
string title = 2; | |
string content = 3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment