redis

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisConfiguer

type RedisConfiguer interface {
	URI() string
}

type RedisConnection

type RedisConnection struct {
	// contains filtered or unexported fields
}

func NewRedisDBConnection

func NewRedisDBConnection() *RedisConnection

func (*RedisConnection) Client

func (rc *RedisConnection) Client() *redis.Client

func (*RedisConnection) Connect

func (rc *RedisConnection) Connect(ctx context.Context, cfg RedisConfiguer)

func (*RedisConnection) Disconnect

func (rc *RedisConnection) Disconnect(ctx context.Context)

Jump to

Keyboard shortcuts

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