datastore

package
v0.0.0-...-c5cac9d Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: MIT Imports: 7 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 (*Datastore) Commit

func (ds *Datastore) Commit(its []*x.Instruction) error

func (*Datastore) GetEntity

func (ds *Datastore) GetEntity(subject string) (reply []x.Instruction, rerr error)

func (*Datastore) Init

func (ds *Datastore) Init(args ...string)

Init takes 2 arguments: tablePrefix and projectId.

func (*Datastore) IsNew

func (ds *Datastore) IsNew(id string) bool

func (*Datastore) Iterate

func (ds *Datastore) Iterate(fromId string, num int, ch chan x.Entity) (found int, last x.Entity, err error)

Jump to

Keyboard shortcuts

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