bootstrapConnectionOptsConfigs returns a bootstrapConnectionOpts struct with values populated from the startup and db configs.
(startupConfig *StartupConfig, dbConfig DbConfig)
| 402 | |
| 403 | // bootstrapConnectionOptsConfigs returns a bootstrapConnectionOpts struct with values populated from the startup and db configs. |
| 404 | func bootstrapConnectionOptsConfigs(startupConfig *StartupConfig, dbConfig DbConfig) bootstrapConnectionOpts { |
| 405 | var opts bootstrapConnectionOpts |
| 406 | setBootstrapConnectionOptsFromStartupConfig(&opts, startupConfig) |
| 407 | setBootstrapConnectionOptsFromDbConfig(&opts, dbConfig) |
| 408 | return opts |
| 409 | } |
| 410 | |
| 411 | // setBootstrapConnectionOptsFromStartupConfig sets the bootstrapConnectionOpts struct with values from the startup config. |
| 412 | func setBootstrapConnectionOptsFromStartupConfig(opts *bootstrapConnectionOpts, config *StartupConfig) { |
no test coverage detected