Versions in this module Expand all Collapse all v0 v0.1.0 Jul 3, 2020 Changes in this version + func Lock(ctx context.Context, db *sql.DB, lockName string, options ...LockOption) (<-chan error, error) + type LockOption func(*lockOpts) + func WithPingInterval(pingInterval time.Duration) LockOption + func WithTimeout(timeout time.Duration) LockOption