greet.proto 187 B

1234567891011121314151617
  1. syntax = "proto3";
  2. package unary;
  3. message Request {
  4. string name = 1;
  5. }
  6. message Response {
  7. string greet = 1;
  8. }
  9. service Greeter {
  10. rpc greet(Request) returns (Response);
  11. }