mocks

package
v4.3.7 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 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 Module

type Module struct {
	mock.Mock
}

Module is an autogenerated mock type for the Module type

func NewModule

func NewModule(t mockConstructorTestingTNewModule) *Module

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

func (*Module) Cache

func (_m *Module) Cache() *utils.Cache

Cache provides a mock function with given fields:

func (*Module) Debug

func (_m *Module) Debug() bool

Debug provides a mock function with given fields:

func (*Module) Handler

func (_m *Module) Handler() handlers.Handler

Handler provides a mock function with given fields:

func (*Module) Paginator

func (_m *Module) Paginator() *paginations.Pagination

Paginator provides a mock function with given fields:

func (*Module) Validate added in v4.3.3

func (_m *Module) Validate(v interface{}) (string, error)

Validate provides a mock function with given fields: v

Jump to

Keyboard shortcuts

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