Help us shape the future of Go! Take the 2026 Go Developer Survey

datastore

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 NewStore

func NewStore(logDatastore bool) *Datastore

func (*Datastore) AppendResponse

func (ds *Datastore) AppendResponse(s string)

We store the response

func (*Datastore) Delete

func (ds *Datastore) Delete(k string)

func (Datastore) Get

func (ds Datastore) Get(index string) (res interface{}, err error)

func (*Datastore) Set

func (ds *Datastore) Set(index string, value interface{}) error

func (*Datastore) SetMap

func (ds *Datastore) SetMap(smap map[string]interface{}) error

func (*Datastore) SetWithQjson

func (ds *Datastore) SetWithQjson(jsonResponse string, storeResponse map[string]string) error

SetWithQjson stores the given response driven by a map key => qjson

func (*Datastore) UpdateLastResponse

func (ds *Datastore) UpdateLastResponse(s string)

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

type DatastoreKeyNotFoundError

type DatastoreKeyNotFoundError struct {
	// contains filtered or unexported fields
}

func (DatastoreKeyNotFoundError) Error

func (data DatastoreKeyNotFoundError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL