memory

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection map[string]data.Object

type Datastore

type Datastore map[string]Collection

DATABASE OBJECT

func New

func New() *Datastore

func (*Datastore) Delete

func (db *Datastore) Delete(collection string, object data.Object, comment string) *derp.Error

func (*Datastore) Load

func (db *Datastore) Load(collection string, filter data.Expression, target data.Object) *derp.Error

func (*Datastore) Save

func (db *Datastore) Save(collection string, object data.Object, comment string) *derp.Error

func (*Datastore) Session

func (db *Datastore) Session(ctx context.Context) *Datastore

Jump to

Keyboard shortcuts

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