mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-15 00:17:42 +00:00
9 lines
252 B
Go
9 lines
252 B
Go
package distributedlock
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrLockAcquisitionTimeout = errors.New("timed out acquiring lock")
|
|
ErrLockAlreadyAcquired = errors.New("lock already acquired")
|
|
ErrLockExpired = errors.New("releasing an expired lock")
|
|
)
|