# Functions
Dial establishes a new session to the cluster identified by the given seed server(s).
DialWithInfo establishes a new session to the cluster identified by info.
DialWithTimeout works like Dial, but uses timeout as the amount of time to wait for a server to respond when first connecting and also on follow up operations in the session.
No description provided by the author
IsDup returns whether err informs of a duplicate key error because a primary key index or a secondary unique index already has an entry with the given value.
NewBulk creates an instance of IBulk with the given ICollection if passed as an arg.
NewPipe creates an instance of IPipe with the given *mgo.Pipe if passed as an arg.
NewSession creates an instance of ISession with the given *mgo.Session if passed as an arg.
# Variables
ErrCursor is the error returned when the cursor used in a mongo operation is not valid.
ErrNotFound is the error returned when no results are found in a mongo operation.
# Structs
BulkResult See the BulkResult documentation in `gopkg.in/mgo.v2` for more information.
Change See the Change documentation in `gopkg.in/mgo.v2` for more information.
ChangeInfo See the ChangeInfo documentation in `gopkg.in/mgo.v2` for more information.
CollectionInfo See the CollectionInfo documentation in `gopkg.in/mgo.v2` for more information.
Index See the Index documentation in `gopkg.in/mgo.v2` for more information.
MapReduce See the MapReduce documentation in `gopkg.in/mgo.v2` for more information.
MapReduceInfo See the MapReduceInfo documentation in `gopkg.in/mgo.v2` for more information.
MapReduceTime See the MapReduceTime documentation in `gopkg.in/mgo.v2` for more information.
# Interfaces
IBulk is an interface which matches the contract for the `Bulk` struct in `gopkg.in/mgo.v2` package.
No description provided by the author
No description provided by the author
No description provided by the author
IPipe is an interface which matches the contract for the `Pipe` struct in `gopkg.in/mgo.v2` package.
No description provided by the author
ISession is an interface which matches the contract for the `Session` struct in `gopkg.in/mgo.v2` package.