Exemplo n.º 1
0
func init() {
	cache.Register("memcache", NewMemCache())
}
Exemplo n.º 2
0
func init() {
	cache.Register("redis", NewRedisCache())
}