Package cache is a middleware that provides the cache management of Tango.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao f5e24421f4
Fix drone
3 months ago
.drone.yml Fix drone 3 months ago
.gitignore modify from go-macaron/cache, test ok 5 years ago
LICENSE modify from go-macaron/cache, test ok 5 years ago
README.md update README 1 year ago
cache.go migrate to gitea.com/lunny/tango 1 year ago
cache_test.go migrate to gitea.com/lunny/tango 1 year ago
circle.yml add CI config 3 years ago
file.go Fix import 7 months ago
file_test.go modify from go-macaron/cache, test ok 5 years ago
go.mod Fix import 7 months ago
go.sum Fix import 7 months ago
memory.go modify from go-macaron/cache, test ok 5 years ago
memory_test.go modify from go-macaron/cache, test ok 5 years ago
utils.go modify from go-macaron/cache, test ok 5 years ago

README.md

cache

Build Status

Middleware cache provides cache management for Tango. It can use many cache adapters, including memory, file, Redis, Memcache, PostgreSQL, MySQL, Ledis and Nodb.

Installation

go get gitea.com/tango/cache

Getting Help

More adapters

Default cache includes two adapters memory and file, you can find more adapters.

Credits

This package is a modified version of macaron/cache.

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.