Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Font string GoogleClientID string GoogleClientSecret string GoogleCallbackHandler string IPInfoIoToken string }
Config represents the configuration of the server
func LoadConfig ¶
func LoadConfig() *Config
LoadConfig loads the configuration from the file `./config.json` if the file doesn't exist the program crashes
Click to show internal directories.
Click to hide internal directories.