Documentation ¶ Index ¶ func ConnectLoop(driver, DSN string, timeout time.Duration) (*sqlx.DB, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConnectLoop ¶ func ConnectLoop(driver, DSN string, timeout time.Duration) (*sqlx.DB, error) ConnectLoop tries to connect to the DB under given DSN using a give driver in a loop until connection succeeds. timeout specifies the timeout for the loop. Types ¶ This section is empty. Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.