interfaces

package
v0.0.0-...-8f17b14 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBCollection

type DBCollection interface {
	AggregationIterator(interface{}) DBResultIterator
	AggregationOne(interface{}, interface{}) error
	Find(interface{}) DBQuery
	FindOne(interface{}, interface{}) (bool, error)
	Insert(object interface{}) error
}

type DBConnection

type DBConnection interface {
	Clone() DBConnection
	DB(string) Database
	Close()
}

type DBQuery

type DBQuery interface {
	Distinct(string, interface{}) error
	Iterator() DBResultIterator
}

type DBResultIterator

type DBResultIterator interface {
	Next(interface{}) bool
	Close() error
	Err() error
}

type Database

type Database interface {
	C(string) DBCollection
}

type Google

type Google interface {
	VerifyToken(string) (*types.User, error)
}

Jump to

Keyboard shortcuts

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