test.proto 272 B

1234567891011121314151617181920
  1. syntax = "proto3";
  2. package test;
  3. option go_package = "go";
  4. import "base.proto";
  5. message TestMessage{}
  6. message TestReq{}
  7. message TestReply{}
  8. enum TestEnum {
  9. unknown = 0;
  10. male = 1;
  11. female = 2;
  12. }
  13. service TestService{
  14. rpc TestRpcOne (TestReq)returns(TestReply);
  15. }