locks

package
v0.1.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 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