storage

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMap

type IMap[K comparable, V any] interface {
	Get(K) (V, bool)
	Set(K, V)
	Del(K)
	ForEach(func(K, V) bool)
	Clear()
	Size() int
	Keys() []K
	Values() []V
	AsMap() map[K]V
	Clone() IMap[K, V]
}

IMap is a thread-safe map interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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