globalsign / mgo

The MongoDB driver for Go
Other
1.97k stars 232 forks source link

Expose dialInfo through a getter? #378

Open LouAdrien opened 4 years ago

LouAdrien commented 4 years ago

In the some case, we might want to access the dialInfos settings, for example in the case where one would need to modify these for a certain operations and then restore the previous setting (ex : setting a long maximum timeout for a long operation, then restoring the previous setting).

Does that seem like an acceptable request?