Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabase ¶
func LoadConfiguration ¶
func LoadConfiguration()
func SetDatabase ¶
Types ¶
type AdminLogin ¶
type Configuration ¶
type Configuration struct { AdminAccess bool `json:"adminAccess"` Port string `json:"port"` DatabaseName string `json:"databaseName"` DatabaseHost string `json:"databaseHost"` DatabasePort string `json:"databasePort"` DatabaseUser string `json:"databaseUser"` DatabasePass string `json:"databasePass"` AdminCredentials AdminLogin `json:"adminLogin"` RestAPIMode bool `json:"restApi"` }
func GetConfiguration ¶
func GetConfiguration() Configuration
Click to show internal directories.
Click to hide internal directories.