Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
6
utils/mq_consumer_factory/mq.go
Normal file
6
utils/mq_consumer_factory/mq.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package mq_consumer_factory
|
||||
|
||||
// 消费mq消息要实现对应Run方法
|
||||
type MqHandle interface {
|
||||
Run(data []byte) error
|
||||
}
|
||||
@@ -19,3 +19,9 @@ type ThirdPartyLoginRspMsg struct {
|
||||
//websocket三方登录的通知数据
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
// 发送到渲染组装的mq数据
|
||||
type AssembleRenderData struct {
|
||||
TaskId string `json:"task_id"`
|
||||
RenderData interface{} `json:"render_data"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user