ms-tester/config/config.go
Vyacheslav1557 c2076338fa feat:
2024-11-01 23:22:43 +05:00

15 lines
540 B
Go

package config
type Config struct {
Env string `env:"ENV" env-default:"prod"`
Pandoc string `env:"PANDOC" required:"true"`
Address string `env:"ADDRESS" required:"true"`
PostgresDSN string `env:"POSTGRES_DSN" required:"true"`
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"`
}