locker

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

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

func NewLocker

func NewLocker() *Locker

func (*Locker) ReadLock

func (l *Locker) ReadLock(key interface{}) error

func (*Locker) ReadUnlock

func (l *Locker) ReadUnlock(key interface{})

func (*Locker) WriteLock

func (l *Locker) WriteLock(key interface{}) error

func (*Locker) WriteUnlock

func (l *Locker) WriteUnlock(key interface{})

Jump to

Keyboard shortcuts

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