sync

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLocker

type FakeLocker struct {
}

FakeLocker is a fake locker

func (FakeLocker) Lock

func (l FakeLocker) Lock()

Lock does nothing

func (FakeLocker) RLock

func (l FakeLocker) RLock()

RLock does nothing

func (FakeLocker) RUnlock

func (l FakeLocker) RUnlock()

RUnlock does nothing

func (FakeLocker) Unlock

func (l FakeLocker) Unlock()

Unlock does nothing

type Locker

type Locker interface {
	Lock()
	Unlock()
	RLock()
	RUnlock()
}

Locker define an abstract locker interface

Jump to

Keyboard shortcuts

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