Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlClient ¶
type MysqlClient struct {
// contains filtered or unexported fields
}
func (*MysqlClient) Check ¶
func (m *MysqlClient) Check() error
func (*MysqlClient) Close ¶
func (m *MysqlClient) Close()
func (*MysqlClient) GetConnection ¶
func (m *MysqlClient) GetConnection(dbName ...string) (*gorm.DB, error)
func (*MysqlClient) Init ¶
func (m *MysqlClient) Init(mysqlConfigUrl string)
func (*MysqlClient) IsMultiDB ¶ added in v1.1.23
func (m *MysqlClient) IsMultiDB() bool
func (*MysqlClient) ListConnNames ¶ added in v1.1.23
func (m *MysqlClient) ListConnNames() []string
Click to show internal directories.
Click to hide internal directories.