We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mongo.ReplicaSet.New(auto_reconnect, rw_timeout) - Returns a new Connection object, or nil and an error.
db,err = mongo.ReplicaSet.New(name, {hostAndPort1, ...})
connect() - Connect to a mongo replica set.
ok, err = db:connect()
The remaining methods are identical to those found in MongoConnection.