autorestic/internal/lock
kenc 465bc037c2
Add lock tests (#209)
* Add lock tests

* Refactor setLock to accept key value pairs

This allows SetCron and Lock to use the same function setLockValue. It
also removes the need to call getLock explicitly in tests by returning
the lock object.
2022-06-06 12:59:47 +02:00
..
lock_test.go Add lock tests (#209) 2022-06-06 12:59:47 +02:00
lock.go Add lock tests (#209) 2022-06-06 12:59:47 +02:00