Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
RedisCache implements caching using Redis
func NewRedisCache ¶
func NewRedisCache(addr, password string, db int) *RedisCache
NewRedisCache creates a new Redis cache instance
func (*RedisCache) Delete ¶
func (c *RedisCache) Delete(key string) error
Delete removes a value from cache
Click to show internal directories.
Click to hide internal directories.