ms-auth/internal/lib/config.go
Vyacheslav1557 73852d3350 refactor:
2024-08-14 15:36:43 +05:00

12 lines
301 B
Go

package lib
type Config struct {
Env string `env:"ENV" env-default:"prod"`
Address string `env:"ADDRESS" env-default:":8090"`
PostgresDSN string `env:"POSTGRES_DSN" required:"true"`
RedisDSN string `env:"REDIS_DSN" required:"true"`
JWTSecret string `env:"JWT_SECRET" required:"true"`
}