Call executes fn with a pooled MongoDB connection.
(fn func(pool.Src) error)
| 192 | |
| 193 | // Call executes fn with a pooled MongoDB connection. |
| 194 | func Call(fn func(pool.Src) error) result.VoidResult { |
| 195 | return getPool().Call(fn) |
| 196 | } |
| 197 | |
| 198 | // Close shuts down the connection pool. |
| 199 | func Close() { |