kit/ttlcache
Alessandro (Ale) Segala 77f7f031c9
Add `ttlcache` package (#80)
* Add `ttlcache` package

This implements an in-memory cache with a TTL for automatically expiring records

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Add delete method

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

---------

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-12-27 07:25:56 -08:00
..
ttlcache.go Add `ttlcache` package (#80) 2023-12-27 07:25:56 -08:00
ttlcache_test.go Add `ttlcache` package (#80) 2023-12-27 07:25:56 -08:00