Example #1
0
func init() {
	cache.Register("memcache", NewMemCache())
}
Example #2
0
func init() {
	cache.Register("redis", NewRedisCache())
}