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

localdatabase

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func New

func New(dir string) *Database

func (*Database) Get

func (d *Database) Get(ctx context.Context, key *datastore.Key, dst interface{}) (err error)

func (*Database) GetMulti

func (d *Database) GetMulti(ctx context.Context, keys []*datastore.Key, dst interface{}) (err error)

func (*Database) Put

func (d *Database) Put(ctx context.Context, key *datastore.Key, src interface{}) (*datastore.Key, error)

func (*Database) PutMulti

func (d *Database) PutMulti(ctx context.Context, keys []*datastore.Key, src interface{}) (_ []*datastore.Key, err error)

Jump to

Keyboard shortcuts

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