(Id uint64, conn ziface.IConnection)
| 42 | } |
| 43 | |
| 44 | func (n *notify) SetNotifyID(Id uint64, conn ziface.IConnection) { |
| 45 | strId := n.genConnStrId(Id) |
| 46 | n.connIdMap.Set(strId, conn) |
| 47 | } |
| 48 | |
| 49 | func (n *notify) GetNotifyByID(Id uint64) (ziface.IConnection, error) { |
| 50 |
nothing calls this directly
no test coverage detected