ms-auth/config/config.go

12 lines
304 B
Go
Raw Permalink Normal View History

2024-10-09 17:07:38 +00:00
package config
2024-07-14 21:26:34 +00:00
type Config struct {
2024-08-14 10:36:43 +00:00
Env string `env:"ENV" env-default:"prod"`
Address string `env:"ADDRESS" env-default:":8090"`
2024-07-14 21:26:34 +00:00
PostgresDSN string `env:"POSTGRES_DSN" required:"true"`
RedisDSN string `env:"REDIS_DSN" required:"true"`
JWTSecret string `env:"JWT_SECRET" required:"true"`
}