Versions in this module Expand all Collapse all v0 v0.0.5 Aug 26, 2022 Changes in this version + type Locker struct + Redis *redis.Client + Values *common.Values + func (x *Locker) Delete(ctx context.Context, name string) error + func (x *Locker) Key(name string) string + func (x *Locker) Update(ctx context.Context, name string, ttl time.Duration) (err error) + func (x *Locker) Verify(ctx context.Context, name string, n int64) (result bool, err error)