func OptIdleTimeout(d time.Duration) Option {
	return func(a *App) error {
		a.Config.IdleTimeout = d
		return nil
	}
}
// OptIdleTimeout sets the idle timeout.
//
// Note that this will override the config setting if OptConfig comes before it
// and will be overwritten by the config if OptConfig comes after it.
OptIdleTimeout sets the idle timeout.

Note that this will override the config setting if OptConfig comes before it
and will be overwritten by the config if OptConfig comes after it.
// OptIdleTimeout sets the idle timeout . // // Note that this will override the config setting if OptConfig comes before it // and will be overwritten by the config if OptConfig comes after it .
func OptIdleTimeout(d time.Duration) Option {
	return func(a *App) error {
		a.Config.IdleTimeout = d
		return nil
	}
}
func OptIdleTimeout ( d time . Duration ) Option { return func ( a * App ) error { a . Config . IdleTimeout = d return nil } }
OptIdleTimeout sets the idle timeout.
OptIdleTimeout sets the idle timeout .