func WithIdleTimeout(idleTimeout time.Duration) ConfigOption {
	return func(cfg *Config) {
		cfg.IdleTimeout = idleTimeout
	}
}
// WithIdleTimeout - Amount of time after which client closes idle connections.
// Should be less than server's timeout.
// -1 disables idle timeout check.
Amount of time after which client closes idle connections.
Should be less than server's timeout.
-1 disables idle timeout check.
// WithIdleTimeout - Amount of time after which client closes idle connections . // Should be less than server ' s timeout . // - 1 disables idle timeout check .
func WithIdleTimeout(idleTimeout time.Duration) ConfigOption {
	return func(cfg *Config) {
		cfg.IdleTimeout = idleTimeout
	}
}
func WithIdleTimeout ( idleTimeout time . Duration ) ConfigOption { return func ( cfg * Config ) { cfg . IdleTimeout = idleTimeout } }
Amount of time after which client closes idle connections.
Amount of time after which client closes idle connections .