package
Version:
v0.5.2
Opens a new window with list of versions in this module.
Published: Jul 20, 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.