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 9a30e3e305
update README
1 month ago
.drone.yml fix image name 6 months ago
.gitignore modify from go-macaron/cache, test ok 4 years ago
LICENSE modify from go-macaron/cache, test ok 4 years ago
README.md update README 1 month ago
cache.go migrate to gitea.com/lunny/tango 8 months ago
cache_test.go migrate to gitea.com/lunny/tango 8 months ago
circle.yml add CI config 2 years ago
file.go modify from go-macaron/cache, test ok 4 years ago
file_test.go modify from go-macaron/cache, test ok 4 years ago
go.mod use go mod & add drone 6 months ago
go.sum use go mod & add drone 6 months ago
memory.go modify from go-macaron/cache, test ok 4 years ago
memory_test.go modify from go-macaron/cache, test ok 4 years ago
utils.go modify from go-macaron/cache, test ok 4 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.