//
pkg.gl
Category
github.com/arun-spire/go-micro
sync
lock
package
1.16.1
Repository:
https://github.com/arun-spire/go-micro.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
6
Files
46 SLOC
#
Packages
etcd
Package etcd is an etcd implementation of lock.
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