(itemId uint64)
| 74 | } |
| 75 | |
| 76 | func (this *IPList) Delete(itemId uint64) { |
| 77 | this.mu.Lock() |
| 78 | this.deleteItem(itemId) |
| 79 | this.mu.Unlock() |
| 80 | } |
| 81 | |
| 82 | // Contains 判断是否包含某个IP |
| 83 | func (this *IPList) Contains(ipBytes []byte) bool { |
no test coverage detected