优化建立连接

This commit is contained in:
2021-04-09 15:13:22 +08:00
parent 9b826dfae7
commit 87f0a26e5e
3 changed files with 16 additions and 5 deletions

View File

@ -22,7 +22,7 @@ type IWebsocket interface {
// Author : go_developer@163.com<张德满>
//
// Date : 6:39 下午 2021/3/27
Connect(ctx *context.WSContext)
Connect(ctx *context.WSContext) error
// Disconnect 断开连接时处理的方法
//
// Author : go_developer@163.com<张德满>