Documentation ¶
Index ¶
- Variables
- type Datastore
- func (ds *Datastore) Batch() (datastore.Batch, error)
- func (ds *Datastore) Close() error
- 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidType = errors.New("redis datastore: invalid type error. this datastore only supports []byte values")
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
func NewExpiringDatastore ¶
func (*Datastore) IsThreadSafe ¶
func (ds *Datastore) IsThreadSafe()
Click to show internal directories.
Click to hide internal directories.