Versions in this module Expand all Collapse all v0 v0.4.0 Jan 27, 2017 v0.3.0 Jan 12, 2017 Changes in this version + var Status string + func Delete(key string) + func DeleteAll(key string) + func Dequeue(queueName string, value interface{}) + func Enqueue(queueName string, value interface{}) + func Get(key string, value interface{}) bool + func Initialize(mode, redisHost, redisPassword string, TTL int) + func Key(args ...string) string + func Set(key string, value interface{}) + func SetWithTTL(key string, value interface{}, ttl int) + type LocalStore struct + Data map[string][]byte + Mutex *sync.Mutex + Queues map[string]*list.List + TTL int + func (s *LocalStore) Delete(key string) + func (s *LocalStore) DeleteAll(key string) + func (s *LocalStore) Dequeue(queueName string, value interface{}) + func (s *LocalStore) Enqueue(queueName string, value interface{}) + func (s *LocalStore) Get(key string, value interface{}) bool + func (s *LocalStore) Set(key string, value interface{}) + func (s *LocalStore) SetWithTTL(key string, value interface{}, ttl int) + type RedisStore struct + Client redisClient + func NewRedisStore(host, password string, ttl int) (*RedisStore, error) + func (s *RedisStore) Delete(key string) + func (s *RedisStore) DeleteAll(pattern string) + func (s *RedisStore) Dequeue(queueName string, value interface{}) + func (s *RedisStore) Enqueue(queueName string, value interface{}) + func (s *RedisStore) Get(key string, value interface{}) bool + func (s *RedisStore) Set(key string, value interface{}) + func (s *RedisStore) SetWithTTL(key string, value interface{}, ttl int) + type Store interface + Delete func(key string) + DeleteAll func(key string) + Dequeue func(queueName string, value interface{}) + Enqueue func(queueName string, value interface{}) + Get func(key string, value interface{}) bool + Set func(key string, value interface{}) + SetWithTTL func(key string, value interface{}, ttl int)