Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheMiss = errors.New("Cache miss")
Functions ¶
This section is empty.
Types ¶
type MemoryCache ¶
type MemoryCache struct {
// contains filtered or unexported fields
}
func NewMemoryCache ¶
func NewMemoryCache() MemoryCache
type RedisCache ¶
func NewRedisCache ¶
func NewRedisCache(pool *redigo.Pool) *RedisCache
Click to show internal directories.
Click to hide internal directories.