package
0.0.0-20230503140511-f53fec159e7f
Repository: https://github.com/bose/go-cache.git
Documentation: pkg.go.dev

# README

Run example

go build && ./example
curl http://localhost:9090/cached-page

curl http://localhost:9090/cached-encrypted-entry

curl http://localhost:9090/cached-in-memory-not-encrypted-entry

curl localhost:9090/cached-in-memory-lru-with-expiry

# see metrics
curl localhost:9090/metrics

Install/run redis and sentinel

# build and install redis-4.0.10.tar.gz
redis-run.sh
sentinel-run.sh

# Structs

TestEntry - just a sampe of what you can store in a GenericCacheEntry.