Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceOrderContainerName string ServiceOrderPort string ServiceOrderImageVersion string ServiceOrderHTTPCallAuthKey string ServiceOrderHTTPCallAuthTTL time.Duration ServiceOrderHTTPCallTimeout time.Duration ServiceOrderExpirationTTL time.Duration ServiceOrderStockReservationGCCronSpec string ServiceProductContainerName string ServiceProductPort string ServiceProductImageVersion string ServiceProductHTTPCallAuthKey string ServiceProductHTTPCallAuthTTL time.Duration ServiceProductHTTPCallTimeout time.Duration ServiceShopContainerName string ServiceShopPort string ServiceShopImageVersion string ServiceShopHTTPCallAuthKey string ServiceShopHTTPCallAuthTTL time.Duration ServiceShopHTTPCallTimeout time.Duration ServiceUserContainerName string ServiceUserPort string ServiceUserImageVersion string ServiceUserHTTPCallAuthKey string ServiceUserHTTPCallAuthTTL time.Duration ServiceUserHTTPCallTimeout time.Duration ServiceUserAuthSecretKey string ServiceUserAuthTTL time.Duration ServiceWarehouseContainerName string ServiceWarehousePort string ServiceWarehouseImageVersion string ServiceWarehouseHTTPCallAuthKey string ServiceWarehouseHTTPCallAuthTTL time.Duration ServiceWarehouseHTTPCallTimeout time.Duration PostgresUser string PostgresPassword string PostgresDB string PostgresInitRetry int PostgresInitDelay time.Duration PostgresMasterContainerName string PostgresMasterPort string PostgresMasterSchemaInitPath string PostgresMasterWalLevel string PostgresMasterHotStandby string PostgresMasterMaxReplication string PostgresMasterHotStandbyFeedback string PostgresMasterLoggingCollector string PostgresMasterLogStatement string PostgresReplicaInitScriptName string PostgresReplicaLoggingCollector string PostgresReplicaLogStatement string PostgresReplica1ContainerName string PostgresReplica1Port string PostgresReplica2ContainerName string PostgresReplica2Port string PostgresReplica3ContainerName string PostgresReplica3Port string RedisContainerName string RedisPort string RedisPass string RedisBind string RedisLogLevel string RedisAppendFsync string RedisTTL time.Duration RedisInitRetry int RedisInitDelay time.Duration LocalEnvPath string LocalLogPath string LocalSchemaPath string LocalScriptPath string ContainerBinPath string ContainerScriptPath string ContainerLogPath string LogExtension string TZ string }
Config holds the environment variables
func (*Config) GetPostgresMasterDSN ¶
func (*Config) GetPostgresReplicasDSN ¶
Click to show internal directories.
Click to hide internal directories.