An implementation of in-memory cache in Go, the applicaiton can
- hold multiple data
- keep time limited data in memory
- support data lock to maintain data consistency
- evict cache data by LRU policy
Step1: start out the application
go run .
Step2: visit the endpoint below and view logs in terminal
curl http://localhost:8080
- Set
- Get