Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Title string // Title of the application SecretKey string // Secret key for JWT signing DbFilePath string // Path to the SQLite database file ExpirySeconds int // Token expiry time in seconds Port string // Port on which the server runs EndpointUrl string // URL of the server endpoint AuthTimeOut int // Authentication timeout in seconds MainTemplate string // Main HTML template content Loglevel logger.Loglevel // Log level for the application SMTPConfig models.SmtpConfig // SMTP configuration for sending emails AdminUserName string // Default admin username )
Configuration variables
View Source
var DefaultString = utils.DefaultStringFunc
Functions ¶
func LoadConfig ¶
func LoadConfig()
LoadConfig loads the configuration settings from environment variables and .env file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.