lock

package
v0.0.0-...-44808bf Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package lock wraps github.com/subchen/go-trylock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker struct {
	trylock.TryLocker
}

Locker wraps trylock.TryLocker.

func New

func New() *Locker

New creates a new trylock.TryLocker.

Jump to

Keyboard shortcuts

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