This commit is contained in:
laodaming 2023-11-06 10:06:33 +08:00
parent f15f8a32be
commit eca69bb085

View File

@ -15,6 +15,7 @@ var mapAllocationProcessor = map[constants.Websocket]allocationProcessorFactory{
constants.WEBSOCKET_RENDER_IMAGE: &renderProcessor{}, //渲染工厂
}
// new消息处理器
func (w *wsConnectItem) newAllocationProcessor(msgType constants.Websocket) allocationProcessorFactory {
return mapAllocationProcessor[msgType]
}