pglock

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PgLock

type PgLock struct {
	// contains filtered or unexported fields
}

func (*PgLock) Unlock

func (s *PgLock) Unlock()

type PgLockHelper

type PgLockHelper struct {
	DbPool *sql.DB `required:"true"`
}

func NewPgLockHelper

func NewPgLockHelper(dbPool *sql.DB) *PgLockHelper

func (*PgLockHelper) Lock

func (r *PgLockHelper) Lock(lockName string) *PgLock

Jump to

Keyboard shortcuts

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