package websocket import ( "net/http" "sync" ) type connection struct { id string httpRequest http.Request writeMTX sync.Mutex }