mocks

package
v2.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: OSL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorAware

type ErrorAware struct {
	mock.Mock
}

ErrorAware is an autogenerated mock type for the ErrorAware type

func (*ErrorAware) Error

func (_m *ErrorAware) Error(_a0 context.Context, err error) web.Response

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

func (*ErrorAware) ErrorNotFound

func (_m *ErrorAware) ErrorNotFound(_a0 context.Context, err error) web.Response

ErrorNotFound provides a mock function with given fields: _a0, err

func (*ErrorAware) ErrorWithCode

func (_m *ErrorAware) ErrorWithCode(_a0 context.Context, err error, httpStatus int) web.Response

ErrorWithCode provides a mock function with given fields: _a0, err, httpStatus

type JSONAware

type JSONAware struct {
	mock.Mock
}

JSONAware is an autogenerated mock type for the JSONAware type

func (*JSONAware) JSON

func (_m *JSONAware) JSON(data interface{}) web.Response

JSON provides a mock function with given fields: data

func (*JSONAware) JSONError

func (_m *JSONAware) JSONError(data interface{}, statusCode int) web.Response

JSONError provides a mock function with given fields: data, statusCode

type RedirectAware

type RedirectAware struct {
	mock.Mock
}

RedirectAware is an autogenerated mock type for the RedirectAware type

func (*RedirectAware) Redirect

func (_m *RedirectAware) Redirect(name string, args map[string]string) web.Redirect

Redirect provides a mock function with given fields: name, args

func (*RedirectAware) RedirectPermanent

func (_m *RedirectAware) RedirectPermanent(name string, args map[string]string) web.Redirect

RedirectPermanent provides a mock function with given fields: name, args

func (*RedirectAware) RedirectPermanentURL

func (_m *RedirectAware) RedirectPermanentURL(url string) web.Redirect

RedirectPermanentURL provides a mock function with given fields: url

func (*RedirectAware) RedirectURL

func (_m *RedirectAware) RedirectURL(url string) web.Redirect

RedirectURL provides a mock function with given fields: url

type RenderAware

type RenderAware struct {
	mock.Mock
}

RenderAware is an autogenerated mock type for the RenderAware type

func (*RenderAware) Render

func (_m *RenderAware) Render(_a0 context.Context, tpl string, data interface{}) web.Response

Render provides a mock function with given fields: _a0, tpl, data

func (*RenderAware) WithStatusCode

func (_m *RenderAware) WithStatusCode(code int) responder.RenderAware

WithStatusCode provides a mock function with given fields: code

Jump to

Keyboard shortcuts

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