redis

package
v0.0.0-...-08a5d78 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 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 Redis

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

func NewRedis

func NewRedis(uri string) (client *Redis, err error)

func (*Redis) Close

func (redis *Redis) Close() error

func (*Redis) Get

func (redis *Redis) Get(key string) (string, error)

func (*Redis) Set

func (redis *Redis) Set(key string, value string, expiration time.Duration) error

Jump to

Keyboard shortcuts

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