https://github.com/snaipe/go-ttlcache
Go map with TTLs/expirating keys
https://github.com/snaipe/go-ttlcache
Last synced: 2 months ago
JSON representation
Go map with TTLs/expirating keys
- Host: GitHub
- URL: https://github.com/snaipe/go-ttlcache
- Owner: Snaipe
- License: mpl-2.0
- Created: 2024-04-02T15:53:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T16:21:09.000Z (about 1 year ago)
- Last Synced: 2025-02-18T20:51:32.263Z (4 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-ttlcache
[](https://godoc.org/snai.pe/go-ttlcache)
```
go get snai.pe/go-ttlcache
```go-ttlcache is a library implementing an in-memory cache with TTLs.
Why yet another TTL map library? Compared with the others, this library:
* Has 0 dependencies outside of the standard library.
* Does not use any goroutines whatsoever.
* Expires items on write, and optimizes for fast reads.