Imports github.com/gorilla/websocket Standard library imports bytes context encoding/json errors fmt io io/ioutil log net/http net/url os path/filepath reflect strconv strings sync time net/http/httputil math math/rand mime/multipart