redis

package
v1.29.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisConsumerRepository

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

RedisConsumerRepository is a Redis implementation of the Redis consumer.

func NewConsumerRedis

func NewConsumerRedis(rc *mredis.RedisConnection) *RedisConsumerRepository

NewConsumerRedis returns a new instance of RedisRepository using the given Redis connection.

func (*RedisConsumerRepository) Del

func (*RedisConsumerRepository) Get

func (*RedisConsumerRepository) Set

func (rr *RedisConsumerRepository) Set(ctx context.Context, key, value string, ttl time.Duration) error

Jump to

Keyboard shortcuts

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