forgejo-federation/modules/base/base_redis.go

13 lines
151 B
Go
Raw Normal View History

2014-04-21 16:24:07 +05:30
// +build redis
package base
import (
_ "github.com/gogits/cache/redis"
2014-04-22 13:11:47 +05:30
_ "github.com/gogits/session/redis"
2014-04-21 16:24:07 +05:30
)
func init() {
EnableRedis = true
}