locks

package
v0.19.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockFactory

type LockFactory interface {
	GetLock(string) sync.Locker
}

LockFactory is the interface to retrieve named locks from

func NewDefaultLockFactory

func NewDefaultLockFactory() LockFactory

NewDefaultLockFactory creates a new lock factory

Jump to

Keyboard shortcuts

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