Add ItemCount method description to README reference
This commit is contained in:
parent
1140511315
commit
1fc39f1402
4
README
4
README
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue