mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 16:02:26 +08:00
格式化代码
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package gs.api;
|
||||
|
||||
option go_package = "hk4e/gs/api;api";
|
||||
|
||||
// GM 服务
|
||||
service GM {
|
||||
rpc Cmd (CmdRequest) returns (CmdReply) {}
|
||||
rpc Cmd (CmdRequest) returns (CmdReply) {}
|
||||
}
|
||||
|
||||
message CmdRequest {
|
||||
string func_name = 1;
|
||||
repeated string param_list = 2;
|
||||
message CmdRequest {
|
||||
string func_name = 1;
|
||||
repeated string param_list = 2;
|
||||
}
|
||||
|
||||
message CmdReply {
|
||||
int32 code = 1; // 0 表示成功
|
||||
string message = 2;
|
||||
message CmdReply {
|
||||
int32 code = 1; // 0 表示成功
|
||||
string message = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user