package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Aug 10, 2017
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Lock is a distributed lock based off Cassandra.
NewLock creates a new instance of a distributed locking mechanism based off Cassandra.
Acquire acquires a lease around a given resource. NB. Cassandra only allows ttl of seconds granularity
Source Files
¶
Click to show internal directories.
Click to hide internal directories.