Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSqlXInstance ¶
NewDatabase will create new database instance
Types ¶
type MasterDbInstance ¶
type MasterDbInstance struct {
// contains filtered or unexported fields
}
func NewMasterDbInstance ¶
func NewMasterDbInstance(databaseURL string) *MasterDbInstance
func (*MasterDbInstance) DBX ¶
func (m *MasterDbInstance) DBX() *sqlx.DB
type SlaveDbInstance ¶
type SlaveDbInstance struct {
// contains filtered or unexported fields
}
func NewSlaveDbInstance ¶
func NewSlaveDbInstance(databaseURL string) *SlaveDbInstance
func (*SlaveDbInstance) DBX ¶
func (m *SlaveDbInstance) DBX() *sqlx.DB
Click to show internal directories.
Click to hide internal directories.