bredis

package
v0.0.0-...-51c8d3b Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("key not exists")
	ErrEmptyKey = errors.New("empty key")
)

Functions

This section is empty.

Types

type BRedis

type BRedis interface {
	Get(key string) (string, error)
	Set(key string, val string) error
	Delete(key string) error
}

func NewLockBRedis

func NewLockBRedis() BRedis

func NewRealRedisBRedis

func NewRealRedisBRedis() BRedis

func NewSingleCoreBRedis

func NewSingleCoreBRedis() BRedis

func NewSyncMapBRedis

func NewSyncMapBRedis() BRedis

Jump to

Keyboard shortcuts

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