Del removes the provided key from the cache.
(key interface{})
| 265 | |
| 266 | // Del removes the provided key from the cache. |
| 267 | func (bc *baseCache) Del(key interface{}) { |
| 268 | e := bc.store.get(key) |
| 269 | bc.DelEntry(e) |
| 270 | } |
| 271 | |
| 272 | // DelEntry removes the provided entry from the cache. |
| 273 | func (bc *baseCache) DelEntry(entry *Entry) { |