Possibility to retrieve entire cache data(keys and its values)
ksudheernathreddy opened this issue · 2 comments
ksudheernathreddy commented
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
coocood commented
Use Iterator
and call Next
until nil can retrieve all cache data.
ksudheernathreddy commented
Thanks, it works :)