mutex_map

package
v0.0.0-...-7b8f7ba Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutexMap

type MutexMap struct {
	Store map[interface{}]interface{}
	sync.Mutex
}

func (*MutexMap) Get

func (ms *MutexMap) Get(index interface{}) interface{}

func (*MutexMap) Len

func (ms *MutexMap) Len() int

func (*MutexMap) Pop

func (ms *MutexMap) Pop() interface{}

func (*MutexMap) Push

func (ms *MutexMap) Push(data interface{})

func (*MutexMap) Range

func (ms *MutexMap) Range(fn func(k, v interface{}) bool)

func (*MutexMap) Remove

func (ms *MutexMap) Remove(index interface{})

func (*MutexMap) Set

func (ms *MutexMap) Set(index interface{}, value interface{})

Jump to

Keyboard shortcuts

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