Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2023 Changes in this version + type Mutex interface + ExtendContext func(ctx context.Context) (bool, error) + LockContext func(ctx context.Context) error + Name func() string + UnlockContext func(ctx context.Context) (bool, error) + Until func() time.Time + Value func() string + type MutexOpts struct + Expiry time.Duration + Tries int + type Rediser interface + RMQ func() rmq.Connection + RedisClient func() *redis.Client + func NewRediser(getter kv.Getter) Rediser