Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ListenAddress string `json:"listen_address"` DatabaseType string `json:"db_type"` DatabaseConfig string `json:"db_string"` PasswordSecret string `json:"password_secret"` JWTSecret string `json:"jwt_secret"` InitialUser string `json:"initial_user"` InitialPassword string `json:"initial_password"` PublicDir string `json:"public_dir"` }
Config contains configuration options of the application.
func GenerateConfig ¶
func LoadConfig ¶
LoadConfig loads the configuration file.
Click to show internal directories.
Click to hide internal directories.