//
pkg.gl
Category
github.com/go-pay/gopher
redislock
package
1.0.39
Repository:
https://github.com/go-pay/gopher.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
133 SLOC
#
Functions
New
New creates a new Client instance with a custom namespace.
Obtain
Obtain is a short-cut for New(...).Obtain(...).
#
Variables
ErrLockNotHeld
ErrLockNotHeld is returned when trying to release an inactive lock.
ErrNotObtained
ErrNotObtained is returned when a lock cannot be obtained.
#
Structs
Client
Client wraps a redis client.
Data
No description provided by the author
Lock
Lock represents an obtained, distributed lock.