Imports github.com/gorilla/mux github.com/gorilla/websocket github.com/op/go-logging Standard library imports encoding/json fmt io/ioutil net/http net/http/httputil net/url os strings sync time