demolock

package
v0.0.0-...-71ad85e Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DemoLock

type DemoLock struct {
	DemoID []string
	Mutex  sync.Mutex
}

func (*DemoLock) Lock

func (d *DemoLock) Lock(ID string, status *taskstatus.Status)

func (*DemoLock) Unlock

func (d *DemoLock) Unlock(ID string)

Jump to

Keyboard shortcuts

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