func (c Config) ConnectionTimeout() time.Duration {
	switch {
	case c.configFileSettings.General.ConnectionTimeout != nil:
		return time.Duration(*c.configFileSettings.General.ConnectionTimeout) * time.Second
	default:
		return time.Duration(defaultConnectionTimeout) * time.Second
	}
}
// ConnectionTimeout returns the user-provided number of seconds before a
// connection attempt should be aborted or the default value if not provided.
ConnectionTimeout returns the user-provided number of seconds before a
connection attempt should be aborted or the default value if not provided.
// ConnectionTimeout returns the user - provided number of seconds before a // connection attempt should be aborted or the default value if not provided .
func (c Config) ConnectionTimeout() time.Duration {
	switch {
	case c.configFileSettings.General.ConnectionTimeout != nil:
		return time.Duration(*c.configFileSettings.General.ConnectionTimeout) * time.Second
	default:
		return time.Duration(defaultConnectionTimeout) * time.Second
	}
}
func ( c Config ) ConnectionTimeout ( ) time . Duration { switch { case c . configFileSettings . General . ConnectionTimeout != nil : return time . Duration ( * c . configFileSettings . General . ConnectionTimeout ) * time . Second default : return time . Duration ( defaultConnectionTimeout ) * time . Second } }
ConnectionTimeout returns the user-provided number of seconds before a
connection attempt should be aborted or the default value if not provided.
ConnectionTimeout returns the user - provided number of seconds before a connection attempt should be aborted or the default value if not provided .