datastore

package
v0.0.0-...-e7a046a Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func NewDB

func NewDB(ctx context.Context, project string) (*DB, error)

func (*DB) Close

func (db *DB) Close()

func (*DB) Get

func (db *DB) Get(ctx context.Context, key *nds.Key, dst interface{}) (err error)

func (*DB) NewQuery

func (db *DB) NewQuery(kind string) nds.Query

func (*DB) Put

func (db *DB) Put(ctx context.Context, key *nds.Key, src interface{}) (*nds.Key, error)

func (*DB) Run

func (db *DB) Run(ctx context.Context, q nds.Query) nds.Iterator

Jump to

Keyboard shortcuts

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