Rewrote cache implemenation.
This commit is contained in:
parent
ab55705b9f
commit
3f46617f80
7 changed files with 285 additions and 148 deletions
|
|
@ -89,12 +89,8 @@ type (
|
|||
|
||||
// CacheConfig stores the cache configuration
|
||||
CacheConfig struct {
|
||||
Hostname string
|
||||
Port uint16
|
||||
Password string
|
||||
Database int
|
||||
TestDatabase int
|
||||
Expiration struct {
|
||||
Capacity int
|
||||
Expiration struct {
|
||||
StaticFile time.Duration
|
||||
Page time.Duration
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue