Documentation ¶
Index ¶
- type Locker
- func (l *Locker) Obtain(ctx context.Context, key string, ttl int, opt ...*redislock.Options) (*redislock.Lock, error)
- func (l *Locker) ObtainWaitExponentialRetry(ctx context.Context, key string, ttl int, maxWaitTime int) (*redislock.Lock, error)
- func (l *Locker) ObtainWaitRetry(ctx context.Context, key string, ttl int, retryCount int) (*redislock.Lock, error)
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.