Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // The App Contains configuration for this application App AppConfig // Database contains configuration for the database Database DatabaseConfig Mail SMTPConfig Logger zerolog.Logger )
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Port int Host string PublicURL string InDevMode bool Version string Location *time.Location }
AppConfig is a struct for storing configuration for the application
type DatabaseConfig ¶
type DatabaseConfig struct { Driver string Hostname string Name string Username string Password string Port int }
DatabaseConfig stores configuration for a specific database connection
type SMTPConfig ¶
Click to show internal directories.
Click to hide internal directories.