redis

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalRedis

type InternalRedis struct {
	Client *redis.Client
}

func NewInternalRedis

func NewInternalRedis() *InternalRedis

func (*InternalRedis) Connect

func (r *InternalRedis) Connect() error

func (*InternalRedis) DeleteRedisValue

func (r *InternalRedis) DeleteRedisValue(redisKey string)

func (*InternalRedis) GetRedisValue

func (r *InternalRedis) GetRedisValue(redisKey string) (string, error)

func (*InternalRedis) GetTTLValue

func (r *InternalRedis) GetTTLValue(redisKey string) int64

func (*InternalRedis) SetRedisValue

func (r *InternalRedis) SetRedisValue(redisKey string, redisValue interface{}, timeOutPeriod time.Duration)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL