package
0.0.66
Repository: https://github.com/forbearing/golib.git
Documentation: pkg.go.dev

# Functions

Get will get raw cache([]byte) from redis.
GetInt get cache from redis and decode into integer.
GetM will get cache from redis and decode into types.Model.
GetML will get cache from redis and decode into []types.Model.
Getsession wrapped Get function to get session data from cache.
No description provided by the author
No description provided by the author
RemovePrefix will scan and delete all redis key that matchs the `prefix`.
Set set any data into redis with specific key.
SetM set types.Model into redis with specific key.
SetML set one or multiple types.Model into redis with specific key.
SetSession wrapped Set function to set session data to redis, only for session.

# Variables

No description provided by the author
No description provided by the author