package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

DefaultLocker returns the default locker.
Lock tries to acquire a lock for the given key, it uses the default locker.
LockAndDo tries to acquire a lock for the given key and then calls the given function.
TryLock tries to acquire a lock for the given key, it uses the default locker.
TryLockAndDo tries to acquire a lock for the given key and then calls the given function.

# Interfaces

# Type aliases

ReleaseFunc is a function that releases a lock.