feat 网关鉴权
This commit is contained in:
@@ -4,14 +4,15 @@ option go_package = "common/proto/ss/grpc_pb";
|
||||
import "ss_common.proto";
|
||||
|
||||
service Gateway {
|
||||
// 发送消息到客户端
|
||||
rpc ToClient(stream ToClientReq) returns (ToClientResp) {}
|
||||
}
|
||||
|
||||
message ToClientReq {
|
||||
int32 UID = 1;
|
||||
int64 USN = 1;
|
||||
int32 MessageID = 2;
|
||||
bytes Payload = 3;
|
||||
}
|
||||
|
||||
message ToClientResp {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user