redis

package
v0.0.0-...-d66a43f Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 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 RedisRepository

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

func New

func New(confs config.Redis) (*RedisRepository, error)

func (*RedisRepository) Get

func (r *RedisRepository) Get(key string) (interface{}, error)

func (*RedisRepository) Set

func (r *RedisRepository) Set(key string, value interface{}, t time.Duration) (interface{}, error)

Jump to

Keyboard shortcuts

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