spook icon indicating copy to clipboard operation
spook copied to clipboard

Add key/value storage feature

Open frenck opened this issue 1 year ago • 1 comments

Description

New feature for Spook: a key/value store.

It allows for storing any value and retrieving it later. Stored items can have a TTL and can thus expire. Additionally, a flag is there to indicate if the item should be stored in a persistent storage, or, in memory only.

To-do:

  • [ ] More testing
  • [ ] Condition to test values against stored ones directly
  • [ ] Add template methods to work with the storage
  • [ ] Documentation

Motivation and Context

I've made this to restore the need of helpers and storing bigger datasets.

How has this been tested?

Screenshots (if appropriate):

image

image

image

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Other

Checklist

  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

frenck avatar Dec 30 '23 22:12 frenck

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Dec 30 '23 22:12 sonarqubecloud[bot]