lock

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: BSD-2-Clause Imports: 3 Imported by: 6

README

Lock

Simple Lock in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLock

func NewLock(lockName string) *lock

Types

type Lock

type Lock interface {
	Lock() error
	Unlock() error
}

Jump to

Keyboard shortcuts

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