check.proto 207 B

12345678910111213141516
  1. syntax = "proto3";
  2. package check;
  3. message checkReq {
  4. string book = 1;
  5. }
  6. message checkResp {
  7. bool found = 1;
  8. int64 price = 2;
  9. }
  10. service checker {
  11. rpc check(checkReq) returns(checkResp);
  12. }