//
pkg.gl
Category
github.com/go-spring/spring-stl
apcu
package
1.1.0-alpha
Repository:
https://github.com/go-spring/spring-stl.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
77 SLOC
#
Functions
Delete
Delete 删除 key 对应的缓存内容。.
Load
Load 获取 key 对应的缓存值,支持存入 string 但是按照 json 反序列化后的对象取出。.
Store
Store 保存 key 及其对应的 val,支持对 key 设置 ttl 即过期时间。.
TTL
TTL 过期时间.
#
Variables
OnLoad
OnLoad Load 成功获取到 key 对应的缓存值时发一个通知出来。.
#
Structs
StoreArg
No description provided by the author
#
Type aliases
StoreOption
No description provided by the author