blob: d0eb7ca1681a9030527d9d48f0121d1883f0cb39 [file] [log] [blame]
package lock
import "sync"
var lockManager ILockManager
func init() {
lockManager = &MemoryLocker{
LockMap: &sync.Map{},
BucketHolder: &sync.Map{},
}
}
func GetLockManager() ILockManager {
return lockManager
}