Archived
Template
1
0
This repository has been archived on 2023-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
golang-base-project/config/main.go

24 lines
611 B
Go
Raw Normal View History

2021-12-12 14:56:13 +01:00
// Package config defines the env configuration variables
package config
2022-01-09 14:22:43 +01:00
// Config defines all the configuration variables for the golang-base-project
2021-12-12 14:56:13 +01:00
type Config struct {
Port string
CookieSecret string
Database string
DatabaseHost string
DatabasePort string
DatabaseName string
DatabaseUsername string
DatabasePassword string
BaseURL string
SMTPUsername string
SMTPPassword string
SMTPHost string
SMTPPort string
SMTPSender string
RequestsPerMinute int
CacheParameter string
CacheMaxAge int
2021-12-12 14:56:13 +01:00
}