Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore interface { Save(key string, data interface{}, callback NoResultCallback) Find(queryStr string, callback ResultCallback) Remove(queryStr string, callback NoResultCallback) Update(queryStr string, update interface{}, callback NoResultCallback) FindAndUpdate(queryStr string, update interface{}, callback ResultCallback) }
Datastore is an interface for possible datastores
type NoResultCallback ¶
type NoResultCallback func(error)
NoResultCallback is a callback just expecting an error
type ResultCallback ¶
ResultCallback is a callback that is expecting both a resulting data interface and an error
Click to show internal directories.
Click to hide internal directories.