Exemplo n.º 1
0
// GetPostgresConnectionTimeout returns the postgres connection timeout as set via default, config file, or environment variable
func GetPostgresConnectionTimeout() int64 {
	return viper.GetInt64(varPostgresConnectionTimeout)
}
Exemplo n.º 2
0
// GetPostgresPort returns the postgres port as set via default, config file, or environment variable
func GetPostgresPort() int64 {
	return viper.GetInt64(varPostgresPort)
}