Imports github.com/gorilla/websocket github.com/gofrs/uuid github.com/pkg/errors Standard library imports encoding/base64 encoding/json fmt io/ioutil log net/http sync time