Versions in this module Expand all Collapse all v1 v1.15.1 Nov 7, 2019 Changes in this version + type Lock struct + func NewLock(session cassandra.Session, tenantID string) *Lock + func (l *Lock) Acquire(resource string, ttl time.Duration) (bool, error) + func (l *Lock) Forfeit(resource string) (bool, error)