mutex_slice

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 MutexSlice

type MutexSlice struct {
	Store []interface{}
	sync.Mutex
}

func (*MutexSlice) Get

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

func (*MutexSlice) Len

func (ms *MutexSlice) Len() int

func (*MutexSlice) Pop

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

func (*MutexSlice) Push

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

func (*MutexSlice) Range

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

func (*MutexSlice) Remove

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

func (*MutexSlice) Set

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

Jump to

Keyboard shortcuts

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