callback

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2015 License: MIT, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

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

Types

type Datastore

type Datastore struct {
	D ds.Datastore
	F func()
}

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