package
0.0.0-20241212022123-17d08ac6bdb7
Repository: https://github.com/inhere/go-web-skeleton.git
Documentation: pkg.go.dev

# Functions

ClosePool Close pool.
Connection return redis connection.
Delete cache.
GenKey gen cache key.
Get cache from redis.
Get cache and map to a struct Usage: cache.GetAndMapTo("key", &User{}).
Has cache key.
init cache redis conn pool ref package: github.com/astaxie/beego/cache/redis redigo doc https://godoc.org/github.com/gomodule/redigo/redis#pkg-examples.
Set cache.

# Constants

5 分钟.
Forever.
12 小时(半天).
半小时.
24 小时(1 天).
One hour.
One minutes.
7 天(一周).
No description provided by the author
10 分钟.
3 天.
3 小时.
ThreeMinutes 3 分钟.
2 天.
2 小时.
Two minutes 2 分钟.
No description provided by the author