IdMap get idMap
()
| 307 | |
| 308 | // IdMap get idMap |
| 309 | func (this *IPList) IdMap() map[uint64]string { |
| 310 | this.locker.RLock() |
| 311 | defer this.locker.RUnlock() |
| 312 | return this.idMap |
| 313 | } |
| 314 | |
| 315 | func (this *IPList) remove(id uint64) { |
| 316 | this.locker.Lock() |