Documentation ¶
Index ¶
- type Handler
- func (_m *Handler) HandleFieldList(table string, fieldWildcard string) ([]*mysql.Field, error)
- func (_m *Handler) HandleOtherCommand(cmd byte, data []byte) error
- func (_m *Handler) HandleQuery(query string) (*mysql.Result, error)
- func (_m *Handler) HandleStmtClose(context interface{}) error
- func (_m *Handler) HandleStmtExecute(context interface{}, query string, args []interface{}) (*mysql.Result, error)
- func (_m *Handler) HandleStmtPrepare(query string) (int, int, interface{}, error)
- func (_m *Handler) UseDB(dbName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func (*Handler) HandleFieldList ¶
HandleFieldList provides a mock function with given fields: table, fieldWildcard
func (*Handler) HandleOtherCommand ¶
HandleOtherCommand provides a mock function with given fields: cmd, data
func (*Handler) HandleQuery ¶
HandleQuery provides a mock function with given fields: query
func (*Handler) HandleStmtClose ¶
HandleStmtClose provides a mock function with given fields: context
func (*Handler) HandleStmtExecute ¶
func (_m *Handler) HandleStmtExecute(context interface{}, query string, args []interface{}) (*mysql.Result, error)
HandleStmtExecute provides a mock function with given fields: context, query, args
func (*Handler) HandleStmtPrepare ¶
HandleStmtPrepare provides a mock function with given fields: query
Click to show internal directories.
Click to hide internal directories.