callback

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2016 License: MIT, MIT Imports: 2 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 {
	D ds.Datastore
	F func()
}

func Wrap

func Wrap(ds ds.Datastore, f func()) *Datastore

func (*Datastore) Delete

func (c *Datastore) Delete(key ds.Key) (err error)

func (*Datastore) Get

func (c *Datastore) Get(key ds.Key) (value interface{}, err error)

func (*Datastore) Has

func (c *Datastore) Has(key ds.Key) (exists bool, err error)

func (*Datastore) Put

func (c *Datastore) Put(key ds.Key, value interface{}) (err error)

func (*Datastore) Query

func (c *Datastore) Query(q dsq.Query) (dsq.Results, error)

func (*Datastore) SetFunc

func (c *Datastore) SetFunc(f func())

Jump to

Keyboard shortcuts

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