ms-tester/config/config.go

15 lines
540 B
Go
Raw Permalink Normal View History

2024-10-09 18:55:16 +00:00
package config
2024-07-27 07:31:04 +00:00
type Config struct {
2024-08-16 11:05:29 +00:00
Env string `env:"ENV" env-default:"prod"`
Pandoc string `env:"PANDOC" required:"true"`
2024-08-20 22:54:46 +00:00
Address string `env:"ADDRESS" required:"true"`
2024-07-27 07:31:04 +00:00
PostgresDSN string `env:"POSTGRES_DSN" required:"true"`
2024-11-01 18:22:43 +00:00
RabbitDSN string `env:"RABBIT_DSN" required:"true"`
InstanceName string `env:"INSTANCE_NAME" required:"true"`
RQueueName string `env:"R_QUEUE_NAME" required:"true"`
TQueueName string `env:"T_QUEUE_NAME" required:"true"`
NQueueName string `env:"N_QUEUE_NAME" required:"true"`
2024-07-27 07:31:04 +00:00
}