Discover Packages
github.com/txix-open/etp/v4
store
package
Version:
v4.1.3
Opens a new window with list of versions in this module.
Published: Jul 10, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package store provides a thread-safe key-value store for arbitrary data.
Get is a type-safe helper function to retrieve a typed value from the store.
It returns an error if the key does not exist or if the value cannot be cast to the requested type.
Store is a thread-safe key-value store for arbitrary data.
New creates a new Store instance.
Delete removes a value by key.
Get retrieves a value by key. It returns nil if the key does not exist.
Range iterates over all key-value pairs in the store.
The iteration stops if the function f returns false.
Set stores a value with the specified key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.