Versions in this module Expand all Collapse all v0 v0.0.3 Mar 13, 2024 Changes in this version + type Memory struct + func NewMemory() *Memory + func (m *Memory) TryLock(_ context.Context, key string, _ time.Duration) (placeorder.Unlock, error) + type Redis struct + func NewRedis(cfg ...) *Redis + func (r *Redis) Status() (alive bool, details string) + func (r *Redis) TryLock(ctx context.Context, key string, maxlockduration time.Duration) (placeorder.Unlock, error)