Skip to content

superfly/redis-cache-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis cache example

This is a simple app written in go that connects to the fly redis cache defined in the FLY_REDIS_CACHE_URL env variable. It shows how to get, set, and delete cached data using the request path as the key.

Setting data

curl -XPOST -d "Michael" https://go-redis-cache-example.fly.dev/name

Getting data

curl https://go-redis-cache-example.fly.dev/name

Deleting data

curl -XDELETE https://go-redis-cache-example.fly.dev/name

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •