keyedmutex

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyedMutex

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

func New

func New() KeyedMutex

func (KeyedMutex) Lock

func (m KeyedMutex) Lock(key string)

func (KeyedMutex) TryLock

func (m KeyedMutex) TryLock(key string) bool

func (KeyedMutex) Unlock

func (m KeyedMutex) Unlock(key string)

Jump to

Keyboard shortcuts

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