redis

package
v2.0.82 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

func NewRedis

func NewRedis(c *redsync.Redsync) *Redis

NewRedis 初始化locker

func (*Redis) Mutex added in v2.0.34

func (r *Redis) Mutex(ctx context.Context, key string, options ...redsync.Option) *redsync.Mutex

func (Redis) String

func (Redis) String() string

Jump to

Keyboard shortcuts

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