Imports github.com/gorilla/websocket go.mongodb.org/mongo-driver/bson go.mongodb.org/mongo-driver/bson/bsontype go.mongodb.org/mongo-driver/bson/primitive gopkg.in/mgo.v2/bson Standard library imports bytes encoding/json errors log net/http os regexp runtime/debug sync time