string.proto 275 B

123456789101112131415161718
  1. syntax = "proto3";
  2. package pb;
  3. service StringService{
  4. rpc Diff(StringRequest) returns (StringResponse){}
  5. }
  6. message StringRequest {
  7. string request_type = 1;
  8. string a = 2;
  9. string b = 3;
  10. }
  11. message StringResponse {
  12. string result = 1;
  13. string err = 2;
  14. }