concurrency_map

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 2 Imported by: 0

README

Concurrency Map

Go Reference

Documentation

Index

Constants

View Source
const SharedCount = 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentMap

type ConcurrentMap []*ConcurrentMapShared

func New

func New() ConcurrentMap

func (ConcurrentMap) Count

func (m ConcurrentMap) Count() int

func (ConcurrentMap) Delete

func (m ConcurrentMap) Delete(key string)

func (ConcurrentMap) Get

func (m ConcurrentMap) Get(key string) (any, bool)

func (ConcurrentMap) Keys

func (m ConcurrentMap) Keys() []string

func (ConcurrentMap) Set

func (m ConcurrentMap) Set(key string, v any)

type ConcurrentMapShared

type ConcurrentMapShared struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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