func WithReconnect() DisconnectOption {
	return func(opts *DisconnectOptions) {
		opts.Reconnect = true
	}
}
// WithReconnect allows to set Reconnect flag to true.
WithReconnect allows to set Reconnect flag to true.
// WithReconnect allows to set Reconnect flag to true .
func WithReconnect() DisconnectOption {
	return func(opts *DisconnectOptions) {
		opts.Reconnect = true
	}
}
func WithReconnect ( ) DisconnectOption { return func ( opts * DisconnectOptions ) { opts . Reconnect = true } }
WithReconnect allows to set Reconnect flag to true.
WithReconnect allows to set Reconnect flag to true .