Skip to content

A caching interface for Golang that uniforms different caching strategies.

License

Notifications You must be signed in to change notification settings

jelmersnoeck/cacher

Repository files navigation

Cacher

TravisCI GoDoc

Cacher is a port of the PHP library Scrapbook.

It defines an interface to interact with several cache systems without having to worry about the implementation of said cache layer.

Usage

See the specific packages' GoDoc reference for examples.

Implementations

Memory

Memory stores all the data in memory. This is a non persistent cache store that will be flushed every time the application that uses the cache is terminates.

This cache is perfect to use for testing. There are no other dependencies required other than enough available memory.

Redis

Redis stores all the data in a Redis instance. This cache relies on the github.com/garyburd/redigo/redis package to communicate with Redis.

About

A caching interface for Golang that uniforms different caching strategies.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages