Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllEnvironmentVariables ¶
type AllEnvironmentVariables struct { Deployed bool `envconfig:"DEPLOYED" required:"true"` LogLevel string `envconfig:"LOG_LEVEL" required:"true"` PostgresHost string `envconfig:"POSTGRES_HOST" required:"true"` PostgresUser string `envconfig:"POSTGRES_USER" required:"true"` PostgresPassword string `envconfig:"POSTGRES_PASSWORD" required:"true"` PostgresPort int32 `envconfig:"POSTGRES_PORT" required:"true"` PostgresSSLMode string `envconfig:"POSTGRES_SSLMODE" required:"true"` PostgresDatabase string `envconfig:"POSTGRES_DATABASE" required:"true"` PostgresLazyConnect bool `envconfig:"POSTGRES_LAZY_CONNECT" required:"false"` PostgresPoolMaxConnectionLifetime string `envconfig:"POSTGRES_POOL_MAX_CONNECTION_LIFETIME" required:"false"` PostgresPoolMaxConnectionIdleTime string `envconfig:"POSTGRES_POOL_MAX_CONNECTION_IDLE_TIME" required:"false"` PostgresPoolMaxConnections int32 `envconfig:"POSTGRES_POOL_MAX_CONNECTIONS" required:"false"` PostgresPoolMinConnections int32 `envconfig:"POSTGRES_POOL_MIN_CONNECTIONS" required:"false"` PostgresPoolHealthCheckPeriod int32 `envconfig:"POSTGRES_POOL_HEALTH_CHECK_PERIOD" required:"false"` }
AllEnvironmentVariables is a struct that defines all of the available environment variables
func FetchAllEnvironmentVariables ¶
func FetchAllEnvironmentVariables() AllEnvironmentVariables
FetchAllEnvironmentVariables returns all environment variables defined for the service
Click to show internal directories.
Click to hide internal directories.