package
Version:
v2.5.0+incompatible
Opens a new window with list of versions in this module.
Published: Apr 12, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
type Action func(stop <-chan struct{}) error
Action is the shorthand to `func(stop <-chan struct{}) error`
Worker simplifies usage of the lock
func (worker *Worker) Run(stop <-chan struct{})
Run the worker
SetLockRetryDelay changes the delay between unsuccessful acquire attempts of the lock
Source Files
¶
Click to show internal directories.
Click to hide internal directories.