redis

package
v0.0.0-...-c8500e0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonRedisClient

type CommonRedisClient struct {
	Client  redis.UniversalClient
	Redsync *redsync.Redsync
}

func NewCommonRedisClient

func NewCommonRedisClient(client redis.UniversalClient, redsync *redsync.Redsync) *CommonRedisClient

func (*CommonRedisClient) NewMutex

func (c *CommonRedisClient) NewMutex(name string, options ...redsync.Option) *redsync.Mutex

Jump to

Keyboard shortcuts

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