升级ICommand约束 && 增加日志记录

This commit is contained in:
2021-04-18 21:55:41 +08:00
parent 47e35b35bd
commit 844da3f325
4 changed files with 221 additions and 36 deletions

View File

@ -35,5 +35,5 @@ type ICommand interface {
// Author : go_developer@163.com<张德满>
//
// Date : 7:21 下午 2021/3/27
Execute(ctx *context.WSContext, data []byte) error
Execute(ctx *context.WSContext, data []byte) (interface{}, error)
}