Documentation
¶
Overview ¶
Package kv provides a generic thread-safe key-value store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store[K comparable, V any] struct { // contains filtered or unexported fields }
Store is a thread-safe generic key-value store.
func (*Store[K, V]) Delete ¶
func (s *Store[K, V]) Delete(key K)
Delete removes a key from the store.
Click to show internal directories.
Click to hide internal directories.