code: func (o *ClientOptions) SetAutoReconnect(a bool) *ClientOptions {
  	o.AutoReconnect = a
  	return o
  }
docs: // SetAutoReconnect sets whether the automatic reconnection logic should be used
  // when the connection is lost, even if disabled the ConnectionLostHandler is still
  // called