mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: MIT Imports: 1 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 {
}

func (*Datastore) All

func (d *Datastore) All(collection string, query datastore.Query) []map[string]interface{}

func (*Datastore) Connect

func (d *Datastore) Connect(a string, b string) datastore.Contract

func (*Datastore) Delete

func (d *Datastore) Delete(a string, r string) bool

func (*Datastore) Find

func (d *Datastore) Find(c string, r string) map[string]interface{}

func (*Datastore) GetDomain

func (d *Datastore) GetDomain() string

func (*Datastore) Init

func (d *Datastore) Init(dbName string, dbConnection string) datastore.Contract

func (*Datastore) Insert

func (d *Datastore) Insert(c string, r map[string]interface{}) bool

func (*Datastore) SetDomain

func (d *Datastore) SetDomain(domain string) datastore.Contract

func (*Datastore) Update

func (d *Datastore) Update(colleciton string, resource string, content map[string]interface{}, patch bool) bool

Jump to

Keyboard shortcuts

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