mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-26 11:28:46 +08:00
20 lines
272 B
Protocol Buffer
20 lines
272 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package test;
|
||
|
option go_package = "go";
|
||
|
|
||
|
import "base.proto";
|
||
|
|
||
|
message TestMessage{}
|
||
|
message TestReq{}
|
||
|
message TestReply{}
|
||
|
|
||
|
enum TestEnum {
|
||
|
unknown = 0;
|
||
|
male = 1;
|
||
|
female = 2;
|
||
|
}
|
||
|
|
||
|
service TestService{
|
||
|
rpc TestRpcOne (TestReq)returns(TestReply);
|
||
|
}
|