Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLockNotObtained = redislock.ErrNotObtained
Functions ¶
This section is empty.
Types ¶
type Locker ¶
type Locker struct {
// contains filtered or unexported fields
}
func New ¶
func New(redisClient redis.UniversalClient) *Locker
func (*Locker) TryWithLock ¶
Click to show internal directories.
Click to hide internal directories.