Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configs ¶
type Configs struct {
PostgresHosts []string `env:"POSTGRES_HOSTS,required"`
PostgresPort netext.Port `env:"POSTGRES_PORT" envDefault:"5432"`
PostgresUsername string `env:"POSTGRES_USERNAME,required"`
PostgresPassword string `env:"POSTGRES_PASSWORD,required"`
PostgresDBName string `env:"POSTGRES_DBNAME,required"`
PostgresAPPName string `env:"POSTGRES_APPNAME,required"`
PostgresSSLMode string `env:"POSTGRES_SSLMODE" envDefault:"disable"`
}
Click to show internal directories.
Click to hide internal directories.