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