Imports github.com/pkg/errors github.com/k0kubun/pp github.com/mariuspass/recws github.com/chuckpreslar/emission github.com/franela/goreq github.com/gorilla/websocket gopkg.in/beatgammit/turnpike.v2 Standard library imports encoding/hex encoding/json io/ioutil log math net/http net/url strconv crypto/sha512 crypto/hmac fmt strings sync time