rdb

package
v0.0.0-...-3dd0aef Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(key string) (err error)

func Get

func Get(key string) (value []byte, err error)

func GetConn

func GetConn() redis.Conn

func GetPool

func GetPool() *redis.Pool

func Init

func Init(cfg config.Redis) error

func Set

func Set(key string, value []byte) (result []byte, err error)

func SetEx

func SetEx(key string, value []byte, timeout time.Duration) (result []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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