Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBConfig ¶
type DBConfig struct { Username string Password string Host string Port string DatabaseName string }
DBConfig is the configuration used to connection to database
func ConfigureDB ¶
ConfigureDB reads the database user name and password from a file (secret) and creates a DBConfig that can be used to connect to the database.
Click to show internal directories.
Click to hide internal directories.