keymutex

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyMutex

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

func (*KeyMutex) TryLock

func (k *KeyMutex) TryLock(key interface{}) bool

func (*KeyMutex) UnLock

func (k *KeyMutex) UnLock(key interface{})

func (*KeyMutex) WaitLock

func (k *KeyMutex) WaitLock(key interface{}, timeout time.Duration) bool

Jump to

Keyboard shortcuts

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