Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.
/ go-cache Public archive

go-cache is a Go package which abstracts cache systems

License

Notifications You must be signed in to change notification settings

Shopify/go-cache

Repository files navigation

Cache

go-cache is a Go package which abstracts cache systems

Inspired from https://github.com/gookit/cache, but designed to be wrapped, similar to https://github.com/Shopify/go-storage.

Requirements

Installation

$ go get github.com/Shopify/go-cache

Usage

All caches in this package follow a simple interface.

If you want, you may wrap the Client to inject functionality, like a circuit breaker, logging, or metrics.