Documentation ¶
Overview ¶
Package config contains application configuration logic
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostgresConnString ¶
PostgresConnString returns postgres connection string
Types ¶
type PostgresCfg ¶
type PostgresCfg struct {
ConnString string `env:"POSTGRES_URL"`
}
PostgresCfg is a configuration for postgres
type RabbitConfig ¶
type RabbitConfig struct { ConnString string `env:"RABBITMQ_CONN_STRING"` Exchange string `env:"RABBITMQ_EXCHANGE_NAME" envDefault:"messages-exchange"` Queue string `env:"RABBITMQ_QUEUE_NAME" envDefault:"messages-queue"` }
RabbitConfig is a configuration for rabbitmq
Click to show internal directories.
Click to hide internal directories.