lock

package module
v0.0.0-...-37ad337 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 1 Imported by: 0

README

lock

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockedValue

type LockedValue interface {
	Get() interface{}
	Set(value interface{})

	Unlock()
}

type RLockedValue

type RLockedValue interface {
	Get() interface{}

	Unlock()
}

type Value

type Value interface {
	Lock() LockedValue
	RLock() RLockedValue
}

func NewValue

func NewValue(v interface{}) Value

Jump to

Keyboard shortcuts

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