Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCache ¶
type RedisCache struct { }
func (*RedisCache) RedisConnect ¶
func (c *RedisCache) RedisConnect() (context.Context, *redis.Client)
func (*RedisCache) RedisGetCache ¶
func (c *RedisCache) RedisGetCache(key string) (val string, err error)
func (*RedisCache) RedisKeyExists ¶
func (c *RedisCache) RedisKeyExists(key string) bool
func (*RedisCache) RedisSetCache ¶
func (c *RedisCache) RedisSetCache(key string, data interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.