ardanlabs / service

Starter-kit for writing services in Go using Kubernetes.

Home Page:https://www.ardanlabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: What if we need caching data with expiry time?

Ali-Farhadnia opened this issue · comments

Yea for sure. That cache package is just an example of how you can compose storage packages together to build layered storage.

if you want to enhance the cache package I'll review and take a PR. I would suggest using a 3rd party package for this unless you are interested in building out your own implementation.