Discover Packages
github.com/nydan/glean
pkg
database
sqldb
package
Version:
v0.0.0-...-f67571d
Opens a new window with list of versions in this module.
Published: May 10, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Wrap leader and follower sqlx object to one db object
this is for easier usage, so user doesn't have to specify leader or follower
all exec is going to leader, all query is going to follower
type ConnectionOptions struct {
Retry int
MaxOpenConnections int
MaxIdleConnections int
ConnectionMaxLifetime time .Duration
}
ConnectionOptions list of option to connect to database
Source Files
¶
Click to show internal directories.
Click to hide internal directories.