// WithTimeout defines a timeout duration for all checks. You can override
// this timeout by using the timeout value in the Check configuration.
// Default value is 30 seconds.
WithTimeout defines a timeout duration for all checks. You can override
this timeout by using the timeout value in the Check configuration.
Default value is 30 seconds.
// WithTimeout defines a timeout duration for all checks . You can override // this timeout by using the timeout value in the Check configuration . // Default value is 30 seconds .
func WithTimeout(timeout time.Duration) CheckerOption {
	return func(cfg *checkerConfig) {
		cfg.timeout = timeout
	}
}
func WithTimeout ( timeout time . Duration ) CheckerOption { return func ( cfg * checkerConfig ) { cfg . timeout = timeout } }
WithTimeout defines a timeout duration for all checks.
WithTimeout defines a timeout duration for all checks .