Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockerWithRetry ¶
type LockerWithRetry struct { Locker lockgate.Locker Options LockerWithRetryOptions Ctx context.Context }
func NewLockerWithRetry ¶
func NewLockerWithRetry(ctx context.Context, locker lockgate.Locker, opts LockerWithRetryOptions) *LockerWithRetry
func (*LockerWithRetry) Acquire ¶
func (locker *LockerWithRetry) Acquire(lockName string, opts lockgate.AcquireOptions) (acquired bool, handle lockgate.LockHandle, err error)
func (*LockerWithRetry) Release ¶
func (locker *LockerWithRetry) Release(lock lockgate.LockHandle) (err error)
type LockerWithRetryOptions ¶
Click to show internal directories.
Click to hide internal directories.