dlm

package
v0.0.0-...-9677058 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DLM

type DLM struct {
	Pool *redis.Pool
}

DLM is called distributed lock manager.

func (*DLM) Close

func (d *DLM) Close() error

Close dlm connection pooling

func (*DLM) Mutex

func (d *DLM) Mutex(name string, expires time.Duration) *redsync.Mutex

Mutex returns MUTual EXclusion

Jump to

Keyboard shortcuts

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