Delete item in runtime cacha. if not exists, we think it's success
(key string)
| 211 | // Delete item in runtime cacha. |
| 212 | // if not exists, we think it's success |
| 213 | func (ca *RuntimeCache) Delete(key string) error { |
| 214 | ca.items.Delete(key) |
| 215 | return nil |
| 216 | } |
| 217 | |
| 218 | // ClearAll will delete all item in runtime cache. |
| 219 | func (ca *RuntimeCache) ClearAll() error { |