Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locker ¶
type Locker interface {
Lock(ctx context.Context, resource string) (Release, error)
LockWithtimeout(ctx context.Context, resource string, timeout time.Duration) (Release, error)
}
func InitRedisLocker ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.