mocks

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 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 Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) Action

func (_m *Interface) Action() string

Action provides a mock function with given fields:

func (*Interface) CallAction

func (_m *Interface) CallAction(action string) (func(), error)

CallAction provides a mock function with given fields: action

func (*Interface) CheckBrowserCancellation

func (_m *Interface) CheckBrowserCancellation() bool

CheckBrowserCancellation provides a mock function with given fields:

func (*Interface) Context

func (_m *Interface) Context() *context.Context

Context provides a mock function with given fields:

func (*Interface) Error

func (_m *Interface) Error(status int, err error)

Error provides a mock function with given fields: status, err

func (*Interface) HasError

func (_m *Interface) HasError() bool

HasError provides a mock function with given fields:

func (*Interface) Initialize

func (_m *Interface) Initialize(caller controller.Interface)

Initialize provides a mock function with given fields: caller

func (*Interface) Name

func (_m *Interface) Name() string

Name provides a mock function with given fields:

func (*Interface) Redirect

func (_m *Interface) Redirect(status int, url string)

Redirect provides a mock function with given fields: status, url

func (*Interface) RenderType

func (_m *Interface) RenderType() string

RenderType provides a mock function with given fields:

func (*Interface) ServeHTTP

func (_m *Interface) ServeHTTP(_a0 http.ResponseWriter, _a1 *http.Request)

ServeHTTP provides a mock function with given fields: _a0, _a1

func (*Interface) Set

func (_m *Interface) Set(key string, value interface{})

Set provides a mock function with given fields: key, value

func (*Interface) SetContext

func (_m *Interface) SetContext(ctx *context.Context)

SetContext provides a mock function with given fields: ctx

func (*Interface) SetRenderType

func (_m *Interface) SetRenderType(_a0 string)

SetRenderType provides a mock function with given fields: _a0

func (*Interface) T

func (_m *Interface) T(_a0 string, _a1 ...map[string]interface{}) string

T provides a mock function with given fields: _a0, _a1

func (*Interface) TP

func (_m *Interface) TP(_a0 string, _a1 int, _a2 ...map[string]interface{}) string

TP provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳