Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseCredentials ¶
type DatabaseCredentials struct { Username string Password string Host string Port string Database string DatabaseType string }
DatabaseCredentials is a struct that holds the credentials to connect to a database. This is just a convenient way to transfer the credentials to the database connection function.
func GetDBConfig ¶
func GetDBConfig() DatabaseCredentials
Click to show internal directories.
Click to hide internal directories.