code: func sendError(conn *websocket.Conn, err error) error {
  	return send(conn, map[string]string{"error": err.Error()}, time.Second)
  }
docs: // sendError transmits an error to the remote end of the websocket, also setting
  // the write deadline to 1 second to prevent waiting forever.