Skip to content

Instantly share code, notes, and snippets.

@ankeetmaini
Created July 3, 2021 06:56
Show Gist options
  • Save ankeetmaini/f872a045c6bff5ee21f78cd6d90c25e4 to your computer and use it in GitHub Desktop.
Save ankeetmaini/f872a045c6bff5ee21f78cd6d90c25e4 to your computer and use it in GitHub Desktop.
message ChatRequest {
string message = 1;
}
message ChatResponse {
string reply = 1;
}
service DemoService {
rpc Sum(SumRequest) returns (SumResponse);
rpc Chat(stream ChatRequest) returns (stream ChatResponse);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment