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