Imports github.com/gorilla/websocket Standard library imports bytes encoding/json image image/jpeg io/ioutil log sync