Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Hostname string Port string DBURL string DBToken string LogLevel slog.Level AppEnv string UseHTTPS bool GithubClientID string GithubClientSecret string }
func LoadConfig ¶
LoadConfig loads configuration from environment variables or an .env file if not in production
Click to show internal directories.
Click to hide internal directories.