From 1fc39f14020e24d256ccaae276780875747b49f6 Mon Sep 17 00:00:00 2001 From: Patrick Mylund Nielsen Date: Thu, 18 Apr 2013 15:26:16 -0400 Subject: [PATCH] Add ItemCount method description to README reference --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index 4489d3e..f6648cc 100644 --- a/README +++ b/README @@ -178,6 +178,10 @@ func (c *Cache) Delete(k string) func (c *Cache) DeleteExpired() 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() Delete all items from the cache.