Documentation ¶
Overview ¶
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Index ¶
- type DBClient
- func (dbc *DBClient) Configure(v any)
- func (dbc *DBClient) Connect()
- func (dbc *DBClient) CreateDatabase() error
- func (dbc *DBClient) DropDatabase() error
- func (dbc *DBClient) InitDBConnection()
- func (dbc *DBClient) InitServerConnection()
- func (dbc *DBClient) IsSilent() bool
- func (dbc *DBClient) Name() string
- func (dbc *DBClient) Ping() error
- func (dbc *DBClient) ResolveDriver()
- func (dbc *DBClient) ResolveServerDriver()
- func (dbc *DBClient) SetSilent(val bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
func GetDBClient ¶
func GetDBClient() *DBClient
func (*DBClient) CreateDatabase ¶
func (*DBClient) DropDatabase ¶
func (*DBClient) InitDBConnection ¶
func (dbc *DBClient) InitDBConnection()
func (*DBClient) InitServerConnection ¶
func (dbc *DBClient) InitServerConnection()
func (*DBClient) ResolveDriver ¶
func (dbc *DBClient) ResolveDriver()
func (*DBClient) ResolveServerDriver ¶
func (dbc *DBClient) ResolveServerDriver()
Click to show internal directories.
Click to hide internal directories.