package
0.30.0
Repository: https://github.com/goph/fxt.git
Documentation: pkg.go.dev

# Functions

MakeMasterPrimaryConnection makes the master connection the primary one to be used as *sql.DB.
NewConfig returns a new config populated with default values.
NewConnection creates a new database connection and optionally registers a health check.
NewMasterSlaveConnection calls NewConnection twice with different input configurations.

# Structs

AppConfig can be used in an application config to represent database connection details.
Config holds a list of options used during the debug server construction.
ConnectionParams provides a set of dependencies for a database connection constructor.
MasterSlaveConfigResult can be used to register master and slave configurations in the container.
MasterSlaveConnectionParams provides a set of dependencies for a master-slave database connection constructor.
MasterSlaveConnectionResult contains the result connections of the NewMasterSlaveConnection constructor.