Imports github.com/gorilla/websocket github.com/pkg/errors Standard library imports crypto/sha256 bytes crypto/hmac encoding/hex encoding/json fmt io/ioutil net/http net/url strconv strings time