Documentation ¶
Index ¶
- type Facade
- type IFacde
- type MysqlMgr
- func (m *MysqlMgr) AddInstance(id uint32, ip string, port int16, user, pass, schema string) error
- func (m *MysqlMgr) Destroy()
- func (m *MysqlMgr) Execute(id uint32, query string, args ...interface{}) (sql.Result, error)
- func (m *MysqlMgr) GetDb(id uint32) *sql.DB
- func (m *MysqlMgr) Query(id uint32, query string, args ...interface{}) (*sql.Rows, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlMgr ¶
type MysqlMgr struct {
// contains filtered or unexported fields
}
func NewMysqlMgr ¶
func NewMysqlMgr() *MysqlMgr
func (*MysqlMgr) AddInstance ¶
Click to show internal directories.
Click to hide internal directories.