You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
309 B
Protocol Buffer
23 lines
309 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package test;
|
|
option go_package = "go";
|
|
|
|
import "base.proto";
|
|
|
|
message TestMessage{}
|
|
message TestReq{}
|
|
message TestReply{}
|
|
message Inline {
|
|
message Inner{}
|
|
}
|
|
|
|
enum TestEnum {
|
|
unknown = 0;
|
|
male = 1;
|
|
female = 2;
|
|
}
|
|
|
|
service TestService{
|
|
rpc TestRpcOne (TestReq)returns(TestReply);
|
|
} |