feat 目录修改名称
This commit is contained in:
26
Proto/RpcServer/sources/service_gateway.proto
Normal file
26
Proto/RpcServer/sources/service_gateway.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "git.hlsq.asia/mmorpg/service-common/proto/ss/grpc_pb";
|
||||
import "ss_common.proto";
|
||||
|
||||
service Gateway {
|
||||
// 发送消息到客户端
|
||||
rpc ToClient(stream ToClientReq) returns (ToClientResp) {}
|
||||
rpc KickUser(KickUserReq) returns (KickUserResp) {}
|
||||
}
|
||||
|
||||
message ToClientReq {
|
||||
string USN = 1;
|
||||
int32 MessageID = 2;
|
||||
bytes Payload = 3;
|
||||
}
|
||||
|
||||
message ToClientResp {
|
||||
}
|
||||
|
||||
message KickUserReq {
|
||||
string USN = 1;
|
||||
}
|
||||
|
||||
message KickUserResp {
|
||||
}
|
||||
Reference in New Issue
Block a user