coocood/freecache

Possibility to retrieve entire cache data(keys and its values)

ksudheernathreddy opened this issue · 2 comments

Hi,

I would like to know is there any way to dump entire data from cache?
For example:
data, err := cache.GetAll()

Thanks in advance

Use Iterator and call Next until nil can retrieve all cache data.

Thanks, it works :)