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