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 c35235184e
Fix import
2 months ago
.drone.yml fix image name 1 year 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 7 months 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 2 months ago
file_test.go modify from go-macaron/cache, test ok 4 years ago
go.mod Fix import 2 months ago
go.sum Fix import 2 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.