func WithIdleCheckFrequency(idleCheckFrequency time.Duration) ConfigOption {
	return func(cfg *Config) {
		cfg.IdleCheckFrequency = idleCheckFrequency
	}
}
// WithIdleCheckFrequency - Frequency of idle checks made by idle connection's reaper.
// -1 disables idle connection's reaper,
// but idle connections are still discarded by the client
// if IdleTimeout is set.
Frequency of idle checks made by idle connection's reaper.
-1 disables idle connection's reaper,
but idle connections are still discarded by the client
if IdleTimeout is set.
// WithIdleCheckFrequency - Frequency of idle checks made by idle connection ' s reaper . // - 1 disables idle connection ' s reaper // but idle connections are still discarded by the client // if IdleTimeout is set .
func WithIdleCheckFrequency(idleCheckFrequency time.Duration) ConfigOption {
	return func(cfg *Config) {
		cfg.IdleCheckFrequency = idleCheckFrequency
	}
}
func WithIdleCheckFrequency ( idleCheckFrequency time . Duration ) ConfigOption { return func ( cfg * Config ) { cfg . IdleCheckFrequency = idleCheckFrequency } }
Frequency of idle checks made by idle connection's reaper.
Frequency of idle checks made by idle connection ' s reaper .