redis

package
v0.0.0-...-755d38d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstance

func GetInstance() (*redis.Client, error)

GetInstance creates a new instance of client Redis

Types

type Config

type Config struct {
	Address  string
	Password string
	Database int
	Options  *redis.Options
}

type Singleton

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

Jump to

Keyboard shortcuts

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