Versions in this module Expand all Collapse all v0 v0.1.2 Aug 11, 2019 v0.1.1 Aug 10, 2019 Changes in this version + type List struct + func (l List) Index(index int) (interface{}, error) + func (l List) LeftPop() (interface{}, error) + func (l List) LeftPush(value interface{}) (int, error) + func (l List) Length() (int, error) + func (l List) Range(start int, end int) ([]interface{}, error) + func (l List) Remove(value interface{}, occurrences int) (int, error) + func (l List) RightPop() (interface{}, error) + func (l List) RightPopLeftPush(newKey string) (interface{}, error) + func (l List) RightPush(value interface{}) (int, error) + func (l List) Set(index int, value interface{}) (bool, error) + type Redis struct + func NewRedis(url string) *Redis + func (r Redis) Exists(key string) (bool, error) + func (r Redis) FlushAll() error + func (r Redis) Get(key string) (string, error) + func (r Redis) Lists(key string) *List + func (r Redis) Set(key string, value string) (bool, error) + func (r Redis) Sets(key string) *Set + type Set struct + func (s Set) Add(value interface{}) (bool, error) + func (s Set) Cardinality() (int, error) + func (s Set) Diff(key2 string) ([]interface{}, error) + func (s Set) IsMember(value interface{}) (bool, error) + func (s Set) Members() ([]interface{}, error) + func (s Set) Move(otherKey string, value interface{}) (bool, error) + func (s Set) Pop() (interface{}, error) + func (s Set) PopMany(quantity int) ([]interface{}, error) + func (s Set) Remove(value interface{}) (int, error)