-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否支持配置过期 #2
Comments
配置过期时间确实是一个比较常见的应用场景,不过它与持久化存储本质上属于两个功能,我觉得另写一个插件来做这件事会更好一些 |
是否可以在写和读的时候添加前置和后置的回调呢?在前置中添加自定义时间戳,后置判断时间戳是否通过 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
它能够拦截set,按理应该也能拦截get预先判断是否已经过期,比如已过期则清除数据返回Null
The text was updated successfully, but these errors were encountered: