mocks

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandlerFunc

type AuthHandlerFunc struct {
	mock.Mock
}

AuthHandlerFunc is an autogenerated mock type for the AuthHandlerFunc type

func NewAuthHandlerFunc

func NewAuthHandlerFunc(t mockConstructorTestingTNewAuthHandlerFunc) *AuthHandlerFunc

NewAuthHandlerFunc creates a new instance of AuthHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AuthHandlerFunc) Execute

func (_m *AuthHandlerFunc) Execute(req *http.Request) error

Execute provides a mock function with given fields: req

type InputHandlerFunc

type InputHandlerFunc struct {
	mock.Mock
}

InputHandlerFunc is an autogenerated mock type for the InputHandlerFunc type

func NewInputHandlerFunc

func NewInputHandlerFunc(t mockConstructorTestingTNewInputHandlerFunc) *InputHandlerFunc

NewInputHandlerFunc creates a new instance of InputHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*InputHandlerFunc) Execute

func (_m *InputHandlerFunc) Execute(in *bytes.Buffer) error

Execute provides a mock function with given fields: in

type OutputHandlerFunc

type OutputHandlerFunc struct {
	mock.Mock
}

OutputHandlerFunc is an autogenerated mock type for the OutputHandlerFunc type

func NewOutputHandlerFunc

func NewOutputHandlerFunc(t mockConstructorTestingTNewOutputHandlerFunc) *OutputHandlerFunc

NewOutputHandlerFunc creates a new instance of OutputHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OutputHandlerFunc) Execute

func (_m *OutputHandlerFunc) Execute(out *bytes.Buffer) error

Execute provides a mock function with given fields: out

type ParamBuilderFunc

type ParamBuilderFunc struct {
	mock.Mock
}

ParamBuilderFunc is an autogenerated mock type for the ParamBuilderFunc type

func NewParamBuilderFunc

func NewParamBuilderFunc(t mockConstructorTestingTNewParamBuilderFunc) *ParamBuilderFunc

NewParamBuilderFunc creates a new instance of ParamBuilderFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ParamBuilderFunc) Execute

func (_m *ParamBuilderFunc) Execute() map[string]string

Execute provides a mock function with given fields:

type ResponseHandlerFunc

type ResponseHandlerFunc struct {
	mock.Mock
}

ResponseHandlerFunc is an autogenerated mock type for the ResponseHandlerFunc type

func NewResponseHandlerFunc

func NewResponseHandlerFunc(t mockConstructorTestingTNewResponseHandlerFunc) *ResponseHandlerFunc

NewResponseHandlerFunc creates a new instance of ResponseHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ResponseHandlerFunc) Execute

func (_m *ResponseHandlerFunc) Execute(reader io.ReadCloser) error

Execute provides a mock function with given fields: reader

type ReturnCodeHandlerFunc

type ReturnCodeHandlerFunc struct {
	mock.Mock
}

ReturnCodeHandlerFunc is an autogenerated mock type for the ReturnCodeHandlerFunc type

func NewReturnCodeHandlerFunc

func NewReturnCodeHandlerFunc(t mockConstructorTestingTNewReturnCodeHandlerFunc) *ReturnCodeHandlerFunc

NewReturnCodeHandlerFunc creates a new instance of ReturnCodeHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReturnCodeHandlerFunc) Execute

func (_m *ReturnCodeHandlerFunc) Execute(code int) error

Execute provides a mock function with given fields: code

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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