(Id uint64)
| 47 | } |
| 48 | |
| 49 | func (n *notify) GetNotifyByID(Id uint64) (ziface.IConnection, error) { |
| 50 | |
| 51 | strId := n.genConnStrId(Id) |
| 52 | Conn, ok := n.connIdMap.Get(strId) |
| 53 | if !ok { |
| 54 | return nil, errors.New(" Not Find UserId") |
| 55 | } |
| 56 | return Conn.(ziface.IConnection), nil |
| 57 | } |
| 58 | |
| 59 | func (n *notify) DelNotifyByID(Id uint64) { |
| 60 | strId := n.genConnStrId(Id) |
no test coverage detected