mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
newredis
This commit is contained in:
@ -12,7 +12,7 @@ type Redis struct {
|
||||
redis *gredis.Redis
|
||||
}
|
||||
|
||||
// newAdapterMemory creates and returns a new memory cache object.
|
||||
// NewRedis creates and returns a new redis memory cache object.
|
||||
func NewRedis(redis *gredis.Redis) Adapter {
|
||||
return &Redis{
|
||||
redis: redis,
|
||||
|
||||
Reference in New Issue
Block a user