Help us shape the future of Go! Take the 2026 Go Developer Survey

pglock

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 6 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, error)

Jump to

Keyboard shortcuts

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