top

MongoHelper provides a system of functions that wrapper selected mgo functions, except that they will retry once in case of an error. All of these functions are mimics of the ones on mgo.Collection, except that they will reconnect and try again in case the request returns EOF, which is how mgo signals a dropped connection.

Imported by 1 package(s)

  1. github.com/AchievementNetwork/static

Imports 3 package(s)

  1. github.com/Sirupsen/logrus
  2. github.com/AchievementNetwork/go-util/util
  3. gopkg.in/mgo.v2