Imports github.com/gorilla/websocket github.com/pkg/errors Standard library imports bytes encoding/json fmt io io/ioutil net net/http net/url strconv time