Documentation ¶
Overview ¶
Package database provides support for access the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open knows how to open a database connection based on the configuration. It also performs a health check to make sure the connection is healthy.
func StatusCheck ¶
StatusCheck returns nil if it can successfully talk to the database. It returns a non-nil error otherwise.
Types ¶
Click to show internal directories.
Click to hide internal directories.