Imports github.com/go-kit/kit/log github.com/go-kit/kit/log/level github.com/gorilla/websocket github.com/pkg/errors Standard library imports crypto/hmac crypto/sha256 context crypto/tls encoding/hex encoding/json fmt io/ioutil log net/http net/url os strconv strings time