Documentation
¶
Overview ¶
Package syncmap provides a simple generic mutex-guarded map. The zero value is usable; the underlying map is allocated on first Put.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
Map is a lock-paired map keyed by K. Each instance guards a single map with a single mutex — no sharing, no sharding.
Click to show internal directories.
Click to hide internal directories.