升级默认的连接管理的实现
This commit is contained in:
@ -18,7 +18,7 @@ type IConnection interface {
|
||||
// Store 存储
|
||||
Store(ctx *context.WSContext)
|
||||
// Del 移除
|
||||
Del(ctx *context.WSContext)
|
||||
Del(ctx *context.WSContext, message string)
|
||||
// GetCtxList 获取连接列表
|
||||
GetCtxList(cidList ...string) []*context.WSContext
|
||||
// Clear 清空连接
|
||||
|
||||
Reference in New Issue
Block a user