Documentation ¶
Index ¶
- Variables
- func GetNamedRows(query interface{}) ([]map[string]interface{}, error)
- type EventReceiver
- type MysqlConnInfo
- type MysqlMgr
- func (this *MysqlMgr) Close()
- func (this *MysqlMgr) GetID() component.ComponentID
- func (this *MysqlMgr) GetNamedRows(query interface{}) ([]map[string]interface{}, error)
- func (this *MysqlMgr) GetSession() *sql.DB
- func (this *MysqlMgr) GetType() component.ComponentType
- func (this *MysqlMgr) Ping() error
- func (this *MysqlMgr) Start() bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetNamedRows ¶
Types ¶
type EventReceiver ¶
type EventReceiver = event.EventReceiver
type MysqlConnInfo ¶
type MysqlConnInfo struct {
// contains filtered or unexported fields
}
func NewMysqlConnInfo ¶
func NewMysqlConnInfo(host string, port int, name, user, pass string) *MysqlConnInfo
func (*MysqlConnInfo) String ¶
func (this *MysqlConnInfo) String() string
type MysqlMgr ¶
type MysqlMgr struct {
// contains filtered or unexported fields
}
func NewMysqlMgr ¶
func (*MysqlMgr) GetID ¶
func (this *MysqlMgr) GetID() component.ComponentID
func (*MysqlMgr) GetNamedRows ¶
func (*MysqlMgr) GetSession ¶
func (*MysqlMgr) GetType ¶
func (this *MysqlMgr) GetType() component.ComponentType
Click to show internal directories.
Click to hide internal directories.