Imports github.com/pkg/errors github.com/rs/zerolog/log github.com/spf13/viper Standard library imports bytes crypto/tls crypto/x509 encoding/json fmt io/ioutil net/http net/url time