doFuncHandler handles functional requests (执行函数式请求)
(request ziface.IFuncRequest, workerID int)
| 306 | |
| 307 | // doFuncHandler handles functional requests (执行函数式请求) |
| 308 | func (mh *MsgHandle) doFuncHandler(request ziface.IFuncRequest, workerID int) { |
| 309 | defer func() { |
| 310 | if err := recover(); err != nil { |
| 311 | zlog.Ins().ErrorF("workerID: %d doFuncRequest panic: %v", workerID, err) |
| 312 | } |
| 313 | }() |
| 314 | // Execute the functional request (执行函数式请求) |
| 315 | request.CallFunc() |
| 316 | } |
| 317 | |
| 318 | // doMsgHandler immediately handles messages in a non-blocking manner |
| 319 | // (立即以非阻塞方式处理消息) |
no test coverage detected