locking

package
v0.0.0-...-e0b51f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendDBLock

type BackendDBLock struct {
	OrgId uint
}

func (BackendDBLock) GetLock

func (lock BackendDBLock) GetLock(resource string) (*int, error)

func (BackendDBLock) Lock

func (lock BackendDBLock) Lock(lockId int, resource string) (bool, error)

func (BackendDBLock) Unlock

func (lock BackendDBLock) Unlock(resource string) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL