Imports github.com/mitchellh/mapstructure github.com/pkg/errors github.com/sirupsen/logrus github.com/urfave/cli Standard library imports bytes crypto/tls crypto/x509 encoding/json fmt io/ioutil net/http net/http/cookiejar net/url os strconv time