Imports gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson github.com/Sirupsen/logrus github.com/sebest/xff github.com/cenkalti/backoff Standard library imports bytes encoding/base64 encoding/json errors fmt io io/ioutil net net/http strconv strings sync time expvar