//
pkg.gl
Category
github.com/stack-labs/stack
sync
lock
package
1.0.1-rc2
Repository:
https://github.com/stack-labs/stack.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
5
Files
46 SLOC
#
Packages
http
Package http adds a http lock implementation.
memory
Package memory provides a sync.Mutex implementation of the lock for local use.
#
Functions
Nodes
Nodes sets the addresses the underlying lock implementation.
Prefix
Prefix sets a prefix to any lock ids used.
TTL
TTL sets the lock ttl.
Wait
Wait sets the wait time.
#
Variables
ErrLockTimeout
No description provided by the author
#
Structs
AcquireOptions
No description provided by the author
Options
No description provided by the author
#
Interfaces
Lock
Lock is a distributed locking interface.
#
Type aliases
AcquireOption
No description provided by the author
Option
No description provided by the author