Documentation ¶
Overview ¶
Package mgostorage provides an implementation of the bakery Storage interface that uses MongoDB to store items.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns an implementation of Storage that stores all items in MongoDB. It never returns an error (the error return is for backward compatibility with a previous version that could return an error).
Note that the caller is responsible for closing the mgo session associated with the collection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.