Imports github.com/McKael/smartcrypto github.com/gorilla/websocket github.com/pkg/errors github.com/sirupsen/logrus Standard library imports bytes crypto/aes encoding/hex encoding/json fmt io/ioutil net/http net/url regexp strconv strings sync time