locker

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnifiedKey

func UnifiedKey(key string) string

Types

type MutexLocker

type MutexLocker interface {
	Lock(context.Context, string, time.Duration) (bool, error)
	IsLocked(context.Context, string) (bool, error)
	UnLock(context.Context, string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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