redisAction

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

*

  • @Description:
  • @FilePath: /bull-golang/internel/redisAction/execLua.go
  • @Author: liyibing liyibing@lixiang.com
  • @Date: 2023-07-26 17:08:14

*

  • @Description:
  • @FilePath: /bull-golang/internal/redisAction/init.go
  • @Author: liyibing liyibing@lixiang.com
  • @Date: 2023-07-26 10:13:03

*

  • @Description:
  • @FilePath: /bull-golang/internal/redisAction/ping.go
  • @Author: liyibing liyibing@lixiang.com
  • @Date: 2023-11-14 17:11:31

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRedisInitFail = errors.New("redis init error")
	ErrWrongIP       = errors.New("wrong init IP")
	ErrWrongMode     = errors.New("wrong redis mode")
)

Functions

func ExecLua

func ExecLua(luaScript string, rdb redis.Cmdable, keys []string, args []interface{}) error

func Init

func Init(ip string, passwd string, mode int) (redis.Cmdable, error)

func Ping

func Ping(rdb redis.Cmdable) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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