lockmap

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxWaiters = 100

Variables

View Source
var ErrTooManyWaiters = errors.New("too many waiters")

Functions

This section is empty.

Types

type L

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

func (*L) Lock

func (l *L) Lock(ctx context.Context, key string) error

func (*L) Unlock

func (l *L) Unlock(key string)

Jump to

Keyboard shortcuts

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