Standard library imports bytes crypto/rand encoding/hex encoding/json fmt io/ioutil net/http net/url strconv strings time