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 holds the handler for the redisclient and auxiliary info
func NewCache ¶
func NewCache(config *Config) (*RedisCache, error)
NewRedisClient inits a RedisCache instance
func (*RedisCache) Delete ¶
func (rc *RedisCache) Delete(ctx context.Context, key string) error
Delete - deletes a key from redis
func (*RedisCache) Disconnect ¶
func (rc *RedisCache) Disconnect() error
Disconnect ... disconnects from the redis server
Click to show internal directories.
Click to hide internal directories.