Imports github.com/gorilla/websocket github.com/mitchellh/mapstructure github.com/sirupsen/logrus Standard library imports bytes crypto/aes crypto/cipher crypto/hmac crypto/rand crypto/rsa crypto/sha1 crypto/x509 encoding/base64 encoding/binary encoding/hex encoding/json encoding/pem errors fmt io io/ioutil math net/http net/url reflect strconv strings time