gredis

package
v0.0.0-...-120fd38 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisConn *redis.Pool

Functions

func Delete

func Delete(key string) (bool, error)

func Exists

func Exists(key string) bool

func Get

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

func InitRedis

func InitRedis() error

*

  • =================================================================================================
  • Redis连接池
  • =================================================================================================

func LikeDeletes

func LikeDeletes(key string) error

func Set

func Set(key string, data interface{}, time int) error

*

  • =================================================================================================
  • String操作
  • =================================================================================================

Types

This section is empty.

Jump to

Keyboard shortcuts

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