Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2016 Changes in this version + type Provider interface + Clear func() error + Del func(key string) error + Get func(key string, val interface{}) error + GetOrSet func(key string, val interface{}, cb func(interface{}) (uint, error)) error + Page func(wrt http.ResponseWriter, req *http.Request, contentType string, minutes uint, ...) + Set func(key string, val interface{}, minutes uint) error + Status func() (map[string]int, error) + type RedisProvider struct + Redis *redis.Pool + func (p *RedisProvider) Clear() error + func (p *RedisProvider) Del(key string) error + func (p *RedisProvider) Get(key string, val interface{}) error + func (p *RedisProvider) GetOrSet(key string, val interface{}, cb func(interface{}) (uint, error)) error + func (p *RedisProvider) Page(wrt http.ResponseWriter, req *http.Request, contentType string, minutes uint, ...) + func (p *RedisProvider) Set(key string, val interface{}, minutes uint) error + func (p *RedisProvider) Status() (map[string]int, error)