mirror of https://github.com/gogits/gogs.git
Unknown
11 years ago
4 changed files with 27 additions and 3 deletions
@ -0,0 +1,11 @@
|
||||
// +build memcache
|
||||
|
||||
package base |
||||
|
||||
import ( |
||||
_ "github.com/gogits/cache/memcache" |
||||
) |
||||
|
||||
func init() { |
||||
EnableMemcache = true |
||||
} |
@ -0,0 +1,11 @@
|
||||
// +build redis
|
||||
|
||||
package base |
||||
|
||||
import ( |
||||
_ "github.com/gogits/cache/redis" |
||||
) |
||||
|
||||
func init() { |
||||
EnableRedis = true |
||||
} |
Loading…
Reference in new issue