Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnContext ¶
type ConnMgr ¶
type ConnMgr interface { // Add 添加一个新的conn,该conn未经过鉴权 Add(ctx ConnContext) // GetByUid 通过uid获取 GetByUid(uid int64, devices []ConnContext) GetByDeviceId(did int64) ConnContext // Remove 移除conn Remove(ctx ConnContext) }
Click to show internal directories.
Click to hide internal directories.