redis

package
v0.0.0-...-05ce4db Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: BSD-3-Clause 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 {
	Client *redis.Client
}

func CreateClient

func CreateClient() Redis

func (Redis) Delete

func (redis Redis) Delete(key string)

func (Redis) Get

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

func (Redis) SetNX

func (redis Redis) SetNX(key string, value string, timeout time.Duration)

Jump to

Keyboard shortcuts

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