Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { AppPort string `env:"APP_PORT" envDefault:"8080"` HashSalt string `env:"HASH_SALT,required"` SigningKey string `env:"SIGNING_KEY,required"` JwtSecret string `env:"JWT_SECRET,required"` HttpsMode bool `env:"HTTPS_MODE" envDefault:"false"` DatabaseConnectionURL string `env:"PG_CONNECTION,required"` RedisURI string `env:"REDIS_URI,required"` RedisPassword string `env:"REDIS_PASSWORD,required"` MailHost string `env:"MAIL_HOST,required"` MailUser string `env:"MAIL_USER,required"` MailPassword string `env:"MAIL_PASSWORD,required"` MinIOAccessKey string `env:"MINIO_ACCESS,required"` MinIOSecretKey string `env:"MINIO_SECRET,required"` MinIOEndpoint string `env:"MINIO_ENDPOINT,required"` MinIOBucket string `env:"APP_NAME,required"` RmqURI string `env:"RMQ_URI,required"` }
func LoadConfigs ¶
func LoadConfigs(files ...string) *Configuration
Click to show internal directories.
Click to hide internal directories.