Add build tag enable prompt

This commit is contained in:
Unknown committed 2014-04-19 22:13:22 -04:00
1 parent 0e41726ece
commit 8bed017557
5 files changed
+13 -3

No files matched your search

+6
View File
@@ -174,6 +174,12 @@ func newLogService() {
func newCacheService() {
CacheAdapter = Cfg.MustValue("cache", "ADAPTER", "memory")
if cache.EnableRedis {
log.Info("Redis Enabled")
}
if cache.EnableMemcache {
log.Info("Memcache Enabled")
}
switch CacheAdapter {
case "memory":