locker

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 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