code: func (c *Conn) send(msg interface{}) error {
  	if !c.connected.Load().(bool) {
  		return errors.New("use of closed connection")
  	}
  
  	return websocket.JSON.Send(c.ws.Load().(*websocket.Conn), msg)
  }
docs: // Send sends the given message through the connection.