package
Version:
v1.8.5
Opens a new window with list of versions in this module.
Published: Feb 13, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
type C interface {
Get(key string, value interface{}) (err error)
GetProxy() *cache.Cache
Set(key string, value interface{}) (err error)
}
New
*
c := New(ctx, RedisOptions{
Addr: addr,
Password: "redisUAT",
}, Options{
MaxSize: 10,
Ttl: time.Second*20,
})
type RedisOptions redis.Options
Source Files
¶
Click to show internal directories.
Click to hide internal directories.