greet.proto 213 B

123456789101112131415
  1. syntax = "proto3";
  2. package stream;
  3. message StreamReq {
  4. string name = 1;
  5. }
  6. message StreamResp {
  7. string greet = 1;
  8. }
  9. service StreamGreeter {
  10. rpc greet(stream StreamReq) returns (stream StreamResp);
  11. }