Package cache is a middleware that provides the cache management of Tango.
|
||
---|---|---|
.gitea/workflows | ||
.vscode | ||
.gitignore | ||
cache_test.go | ||
cache.go | ||
file_test.go | ||
file.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
memory_test.go | ||
memory.go | ||
README.md | ||
utils.go |
Cache
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.