Documentation ¶
Index ¶
- type Datastore
- func (ds *Datastore) AppendResponse(s string)
- func (ds *Datastore) Delete(k string)
- func (ds Datastore) Get(index string) (res interface{}, err error)
- func (ds *Datastore) Set(index string, value interface{}) error
- func (ds *Datastore) SetMap(smap map[string]interface{}) error
- func (ds *Datastore) SetWithQjson(jsonResponse string, storeResponse map[string]string) error
- func (ds *Datastore) UpdateLastResponse(s string)
- type DatastoreIndexError
- type DatastoreIndexOutOfBoundsError
- type DatastoreKeyNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
func (*Datastore) AppendResponse ¶
We store the response
func (*Datastore) SetWithQjson ¶
SetWithQjson stores the given response driven by a map key => qjson
func (*Datastore) UpdateLastResponse ¶
We store the response
type DatastoreIndexError ¶
type DatastoreIndexError struct {
// contains filtered or unexported fields
}
func (DatastoreIndexError) Error ¶
func (data DatastoreIndexError) Error() string
type DatastoreIndexOutOfBoundsError ¶
type DatastoreIndexOutOfBoundsError struct {
// contains filtered or unexported fields
}
func (DatastoreIndexOutOfBoundsError) Error ¶
func (data DatastoreIndexOutOfBoundsError) Error() string
type DatastoreKeyNotFoundError ¶
type DatastoreKeyNotFoundError struct {
// contains filtered or unexported fields
}
func (DatastoreKeyNotFoundError) Error ¶
func (data DatastoreKeyNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.