redisAction

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

*

  • @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 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