Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDatabase ¶
type MongoDatabase struct { *mgo.Database // contains filtered or unexported fields }
func New ¶
func New(mongoDatabase *mgo.Database, collections []string) (*MongoDatabase, error)
func (*MongoDatabase) EnsureIndexes ¶
func (mg *MongoDatabase) EnsureIndexes() error
func (*MongoDatabase) Insert ¶
func (mg *MongoDatabase) Insert(collectionName string, object structures.Object) error
Click to show internal directories.
Click to hide internal directories.