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