mongo

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2015 License: MIT Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

func NewRecorder

func NewRecorder(host string, set string, collection string) (*Recorder, error)

func (*Recorder) FindByTimestamp

func (r *Recorder) FindByTimestamp(deviceid uint64, start uint64, end uint64, records interface{}) error

func (*Recorder) FindLatest

func (r *Recorder) FindLatest(deviceid uint64, record interface{}) error

func (*Recorder) Insert

func (r *Recorder) Insert(args interface{}) error

Jump to

Keyboard shortcuts

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