mutex

package
v0.0.0-...-f39a356 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-2.0, GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutex

type Mutex struct {
	Name     string
	LockedAt time.Time
}

func New

func New(name string) *Mutex

func (*Mutex) Lock

func (self *Mutex) Lock(c gaecontext.GAEContext, timeout time.Duration) (err error)

func (*Mutex) Unlock

func (self *Mutex) Unlock(c gaecontext.GAEContext) (err error)

Jump to

Keyboard shortcuts

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