package
1.1.3
Repository: https://github.com/corsc/go-commons.git
Documentation: pkg.go.dev

# README

Concurrent Map (CMAP)

This packages attempts to provide a simple to use concurrent map with pluggable hashing.

The default settings should be sufficient for most usage.

For usage examples please refer here

# Functions

New returns a initialized concurrent map.

# Variables

ErrNoSuchItem indicated no such item exists in the key.

# Structs

Map is a concurrent map.
ShardManagerFNV implements manager using `hash/fnv.Hash32` to hash the keys.
Tuple is 1 key/value pair from the map.

# Interfaces

ShardManager controls how many shards exist and how keys are hashed.