interfaces

package
v0.0.0-...-d9c4052 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2014 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn interface {
	C(collection string) *mgo.Collection
	Saver
	Remover
}

type Remover

type Remover interface {
	Remove(collection string, ID bson.ObjectId) error
}

type Saver

type Saver interface {
	Save(collection string, ID bson.ObjectId, item interface{}) error
}

Jump to

Keyboard shortcuts

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