Imports github.com/gorilla/websocket github.com/pkg/errors github.com/sirupsen/logrus Standard library imports bytes crypto/hmac crypto/sha256 crypto/tls encoding/base64 encoding/json errors fmt io/ioutil log math/big math/rand net/http net/http/httputil net/url os runtime strconv strings sync time