test.proto 352 B

12345678910111213141516171819202122232425
  1. // test proto
  2. syntax = "proto3";
  3. package test;
  4. option go_package = "go";
  5. import "test_base.proto";
  6. message TestMessage {
  7. base.CommonReq req = 1;
  8. }
  9. message TestReq {}
  10. message TestReply {
  11. base.CommonReply reply = 2;
  12. }
  13. enum TestEnum {
  14. unknown = 0;
  15. male = 1;
  16. female = 2;
  17. }
  18. service TestService {
  19. rpc TestRpc (TestReq) returns (TestReply);
  20. }