Versions in this module Expand all Collapse all v0 v0.3.7 Aug 2, 2015 v0.3.6 Jul 30, 2015 Changes in this version + var ErrInvalidType = errors.New(...) + func NewDatastore(client *redis.Client) (datastore.ThreadSafeDatastore, error) + func NewExpiringDatastore(client *redis.Client, ttl time.Duration) (datastore.ThreadSafeDatastore, error) + type Datastore struct + func (ds *Datastore) Delete(key datastore.Key) (err error) + func (ds *Datastore) Get(key datastore.Key) (value interface{}, err error) + func (ds *Datastore) Has(key datastore.Key) (exists bool, err error) + func (ds *Datastore) IsThreadSafe() + func (ds *Datastore) Put(key datastore.Key, value interface{}) error + func (ds *Datastore) Query(q query.Query) (query.Results, error)