distributed_lock

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LockOccupied = errors.New("the lock has been occupied")
	LockTimeout  = errors.New("the lock timeout")
)

Functions

This section is empty.

Types

type DistributedLock

type DistributedLock interface {
	Lock(string, int) error
	UnLock() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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