Added redis support

This commit is contained in:
Artyom Belousov 2019-05-16 14:58:24 +03:00
parent 577664c034
commit 98a8040246
4 changed files with 101 additions and 1 deletions

9
caching/secrets.go Normal file
View file

@ -0,0 +1,9 @@
package caching
import (
"time"
)
const HOST_NAME = "localhost:6379"
const PASSWORD = ""
const CACHE_EXPIRATION = time.Hour * 24