mocks

package
v0.0.0-...-2c0f5da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func (*Handler) HandleFieldList

func (_m *Handler) HandleFieldList(table string, fieldWildcard string) ([]*mysql.Field, error)

HandleFieldList provides a mock function with given fields: table, fieldWildcard

func (*Handler) HandleOtherCommand

func (_m *Handler) HandleOtherCommand(cmd byte, data []byte) error

HandleOtherCommand provides a mock function with given fields: cmd, data

func (*Handler) HandleQuery

func (_m *Handler) HandleQuery(query string) (*mysql.Result, error)

HandleQuery provides a mock function with given fields: query

func (*Handler) HandleStmtClose

func (_m *Handler) HandleStmtClose(context interface{}) error

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

func (_m *Handler) HandleStmtPrepare(query string) (int, int, interface{}, error)

HandleStmtPrepare provides a mock function with given fields: query

func (*Handler) UseDB

func (_m *Handler) UseDB(dbName string) error

UseDB provides a mock function with given fields: dbName

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL