redismutex

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientImpl

type ClientImpl struct{}

ClientImpl Real Redis mutex client

func (ClientImpl) Lock

func (r ClientImpl) Lock(name string) (*redsync.Mutex, error)

Lock Creates locked mutex

type Connection

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

Connection Contains lazy Redsync connection

type MutexManager

type MutexManager interface {
	Lock(name string) (*redsync.Mutex, error)
}

MutexManager Mutex manager over Redis

Jump to

Keyboard shortcuts

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