diff options
Diffstat (limited to 'modules/setting/setting_memcache.go')
-rw-r--r-- | modules/setting/setting_memcache.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/setting/setting_memcache.go b/modules/setting/setting_memcache.go new file mode 100644 index 00000000..e509f372 --- /dev/null +++ b/modules/setting/setting_memcache.go @@ -0,0 +1,15 @@ +// +build memcache + +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package setting + +import ( + _ "github.com/gogits/cache/memcache" +) + +func init() { + EnableMemcache = true +} |