Imports github.com/tidepool-org/platform/config github.com/tidepool-org/platform/errors github.com/tidepool-org/platform/log github.com/tidepool-org/platform/pointer gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson Standard library imports crypto/tls net net/url strconv time