Documentation ¶ Index ¶ func New(opt *redis.UniversalOptions) store.Store type RedisStore func (ra *RedisStore) Get(key string) ([]byte, error) func (ra *RedisStore) Set(key string, val []byte, ttl time.Duration) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opt *redis.UniversalOptions) store.Store Types ¶ type RedisStore ¶ type RedisStore struct { // contains filtered or unexported fields } func (*RedisStore) Get ¶ func (ra *RedisStore) Get(key string) ([]byte, error) func (*RedisStore) Set ¶ func (ra *RedisStore) Set(key string, val []byte, ttl time.Duration) error Source Files ¶ View all Source files redis.go Click to show internal directories. Click to hide internal directories.