mongoconnector

package
v0.0.0-...-fcff741 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MongoDBConnector

type MongoDBConnector struct {
	Collection *mgo.Collection
}

func NewMongoDBConnector

func NewMongoDBConnector() (*MongoDBConnector, error)

func (*MongoDBConnector) DeleteDoorman

func (c *MongoDBConnector) DeleteDoorman(id bson.ObjectId) error

func (*MongoDBConnector) Exists

func (*MongoDBConnector) ExistsId

func (c *MongoDBConnector) ExistsId(id bson.ObjectId) bool

func (*MongoDBConnector) GetAllDoormen

func (c *MongoDBConnector) GetAllDoormen() <-chan *doormen.DoormanId

func (*MongoDBConnector) GetDoorman

func (*MongoDBConnector) Save

func (*MongoDBConnector) Update

Jump to

Keyboard shortcuts

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