Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PortNumber string `json:"port_number"` DBUser string `json:"db_user"` DBPassword string `json:"db_password"` DBHost string `json:"db_host"` AllowedClients string `json:"allowed_clients"` MachineAddress string `json:"machine_address"` GoogleClientID string `json:"google_client_id"` Development bool `json:"development"` }
Config represents the configuration of the server
func GetInstance ¶
func GetInstance() *Config
GetInstance returns a singleton instance of type Config
Click to show internal directories.
Click to hide internal directories.