Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBConnect ¶
DBConnect establishes a connection to the database using the driver and connection information.
Note that only "postgres" is supported as the driver right now.
func DBConnectionString ¶
func DBConnectionString(cfg *configloader.ConnectionConfig) string
DBConnectionString generates a properly formatted connection string that can be used to establish a database connection. Note that it always creates a connection string with sslmode disabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.