Documentation ¶
Index ¶
- type Locker
- func (m *Locker) ForceRelease(context.Context) error
- func (m *Locker) LockedOwner(context.Context) (string, error)
- func (m *Locker) Owner() string
- func (m *Locker) Release(context.Context) (bool, error)
- func (m *Locker) Try(ctx context.Context, fn func() error) error
- func (m *Locker) Until(ctx context.Context, timeout time.Duration, fn func() error) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.