Add ItemCount method description to README reference

This commit is contained in:
Patrick Mylund Nielsen 2013-04-18 15:26:16 -04:00
parent 1140511315
commit 1fc39f1402
1 changed files with 4 additions and 0 deletions

4
README
View File

@ -178,6 +178,10 @@ func (c *Cache) Delete(k string)
func (c *Cache) DeleteExpired() func (c *Cache) DeleteExpired()
Delete all expired items from the cache. Delete all expired items from the cache.
func (c *Cache) ItemCount()
Returns the number of items in the cache. This may include items that have
expired, but have not yet been cleaned up.
func (c *Cache) Flush() func (c *Cache) Flush()
Delete all items from the cache. Delete all items from the cache.