redis_helper

package module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

redis-helper-go

Redis helper for golang

Provides a series of tools based on Redis, including distributed mutex, simple message queue, and event bus.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRedisClient

func GetRedisClient(opts *redis.Options) (*redis.Client, error)

func ServerMajorVersion added in v1.3.1

func ServerMajorVersion(client *redis.Client) (int, error)

func ServerVersion added in v1.3.1

func ServerVersion(client *redis.Client) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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