lock

package
v0.0.1-20230320-0001 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RWString

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

func NewRWString

func NewRWString() *RWString

func (*RWString) Lock

func (t *RWString) Lock(name string)

func (*RWString) RLock

func (t *RWString) RLock(name string)

func (*RWString) RUnlock

func (t *RWString) RUnlock(name string)

func (*RWString) Unlock

func (t *RWString) Unlock(name string)

type String

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

func NewString

func NewString() *String

func (*String) Lock

func (t *String) Lock(name string)

func (*String) Unlock

func (t *String) Unlock(name string)

Jump to

Keyboard shortcuts

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