mocks

package
v0.0.0-...-b94e071 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander

type Commander struct {
	mock.Mock
}

Commander is an autogenerated mock type for the Commander type

func (*Commander) Execute

func (_m *Commander) Execute(_a0 exoctx.Ctx, _a1 payload.Handler) (string, error)

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

func (*Commander) GetCatagory

func (_m *Commander) GetCatagory() string

GetCatagory provides a mock function with given fields:

func (*Commander) GetName

func (_m *Commander) GetName() string

GetName provides a mock function with given fields:

func (*Commander) MatchCommand

func (_m *Commander) MatchCommand(_a0 string) bool

MatchCommand provides a mock function with given fields: _a0

type Context

type Context struct {
	mock.Mock
}

Context is an autogenerated mock type for the Context type

func (*Context) Attachment

func (_m *Context) Attachment(file string, name string) error

Attachment provides a mock function with given fields: file, name

func (*Context) Bind

func (_m *Context) Bind(i interface{}) error

Bind provides a mock function with given fields: i

func (*Context) Blob

func (_m *Context) Blob(code int, contentType string, b []byte) error

Blob provides a mock function with given fields: code, contentType, b

func (*Context) Cookie

func (_m *Context) Cookie(name string) (*http.Cookie, error)

Cookie provides a mock function with given fields: name

func (*Context) Cookies

func (_m *Context) Cookies() []*http.Cookie

Cookies provides a mock function with given fields:

func (*Context) Echo

func (_m *Context) Echo() *echo.Echo

Echo provides a mock function with given fields:

func (*Context) Error

func (_m *Context) Error(err error)

Error provides a mock function with given fields: err

func (*Context) File

func (_m *Context) File(file string) error

File provides a mock function with given fields: file

func (*Context) FormFile

func (_m *Context) FormFile(name string) (*multipart.FileHeader, error)

FormFile provides a mock function with given fields: name

func (*Context) FormParams

func (_m *Context) FormParams() (url.Values, error)

FormParams provides a mock function with given fields:

func (*Context) FormValue

func (_m *Context) FormValue(name string) string

FormValue provides a mock function with given fields: name

func (*Context) Get

func (_m *Context) Get(key string) interface{}

Get provides a mock function with given fields: key

func (*Context) HTML

func (_m *Context) HTML(code int, html string) error

HTML provides a mock function with given fields: code, html

func (*Context) HTMLBlob

func (_m *Context) HTMLBlob(code int, b []byte) error

HTMLBlob provides a mock function with given fields: code, b

func (*Context) Handler

func (_m *Context) Handler() echo.HandlerFunc

Handler provides a mock function with given fields:

func (*Context) Inline

func (_m *Context) Inline(file string, name string) error

Inline provides a mock function with given fields: file, name

func (*Context) IsTLS

func (_m *Context) IsTLS() bool

IsTLS provides a mock function with given fields:

func (*Context) IsWebSocket

func (_m *Context) IsWebSocket() bool

IsWebSocket provides a mock function with given fields:

func (*Context) JSON

func (_m *Context) JSON(code int, i interface{}) error

JSON provides a mock function with given fields: code, i

func (*Context) JSONBlob

func (_m *Context) JSONBlob(code int, b []byte) error

JSONBlob provides a mock function with given fields: code, b

func (*Context) JSONP

func (_m *Context) JSONP(code int, callback string, i interface{}) error

JSONP provides a mock function with given fields: code, callback, i

func (*Context) JSONPBlob

func (_m *Context) JSONPBlob(code int, callback string, b []byte) error

JSONPBlob provides a mock function with given fields: code, callback, b

func (*Context) JSONPretty

func (_m *Context) JSONPretty(code int, i interface{}, indent string) error

JSONPretty provides a mock function with given fields: code, i, indent

func (*Context) Logger

func (_m *Context) Logger() echo.Logger

Logger provides a mock function with given fields:

func (*Context) MultipartForm

func (_m *Context) MultipartForm() (*multipart.Form, error)

MultipartForm provides a mock function with given fields:

func (*Context) NoContent

func (_m *Context) NoContent(code int) error

NoContent provides a mock function with given fields: code

func (*Context) Param

func (_m *Context) Param(name string) string

Param provides a mock function with given fields: name

func (*Context) ParamNames

func (_m *Context) ParamNames() []string

ParamNames provides a mock function with given fields:

func (*Context) ParamValues

func (_m *Context) ParamValues() []string

ParamValues provides a mock function with given fields:

func (*Context) Path

func (_m *Context) Path() string

Path provides a mock function with given fields:

func (*Context) QueryParam

func (_m *Context) QueryParam(name string) string

QueryParam provides a mock function with given fields: name

func (*Context) QueryParams

func (_m *Context) QueryParams() url.Values

QueryParams provides a mock function with given fields:

func (*Context) QueryString

func (_m *Context) QueryString() string

QueryString provides a mock function with given fields:

func (*Context) RealIP

func (_m *Context) RealIP() string

RealIP provides a mock function with given fields:

func (*Context) Redirect

func (_m *Context) Redirect(code int, _a1 string) error

Redirect provides a mock function with given fields: code, _a1

func (*Context) Render

func (_m *Context) Render(code int, name string, data interface{}) error

Render provides a mock function with given fields: code, name, data

func (*Context) Request

func (_m *Context) Request() *http.Request

Request provides a mock function with given fields:

func (*Context) Reset

func (_m *Context) Reset(r *http.Request, w http.ResponseWriter)

Reset provides a mock function with given fields: r, w

func (*Context) Response

func (_m *Context) Response() *echo.Response

Response provides a mock function with given fields:

func (*Context) Scheme

func (_m *Context) Scheme() string

Scheme provides a mock function with given fields:

func (*Context) Set

func (_m *Context) Set(key string, val interface{})

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

func (*Context) SetCookie

func (_m *Context) SetCookie(cookie *http.Cookie)

SetCookie provides a mock function with given fields: cookie

func (*Context) SetHandler

func (_m *Context) SetHandler(h echo.HandlerFunc)

SetHandler provides a mock function with given fields: h

func (*Context) SetParamNames

func (_m *Context) SetParamNames(names ...string)

SetParamNames provides a mock function with given fields: names

func (*Context) SetParamValues

func (_m *Context) SetParamValues(values ...string)

SetParamValues provides a mock function with given fields: values

func (*Context) SetPath

func (_m *Context) SetPath(p string)

SetPath provides a mock function with given fields: p

func (*Context) SetRequest

func (_m *Context) SetRequest(r *http.Request)

SetRequest provides a mock function with given fields: r

func (*Context) Stream

func (_m *Context) Stream(code int, contentType string, r io.Reader) error

Stream provides a mock function with given fields: code, contentType, r

func (*Context) String

func (_m *Context) String(code int, s string) error

String provides a mock function with given fields: code, s

func (*Context) Validate

func (_m *Context) Validate(i interface{}) error

Validate provides a mock function with given fields: i

func (*Context) XML

func (_m *Context) XML(code int, i interface{}) error

XML provides a mock function with given fields: code, i

func (*Context) XMLBlob

func (_m *Context) XMLBlob(code int, b []byte) error

XMLBlob provides a mock function with given fields: code, b

func (*Context) XMLPretty

func (_m *Context) XMLPretty(code int, i interface{}, indent string) error

XMLPretty provides a mock function with given fields: code, i, indent

type PayloadHandler

type PayloadHandler struct {
	mock.Mock
}

PayloadHandler is an autogenerated mock type for the Handler type

func (*PayloadHandler) GetMessage

func (_m *PayloadHandler) GetMessage() string

GetMessage provides a mock function with given fields:

func (*PayloadHandler) GetSenderEmail

func (_m *PayloadHandler) GetSenderEmail() string

GetSenderEmail provides a mock function with given fields:

func (*PayloadHandler) GetSenderName

func (_m *PayloadHandler) GetSenderName() string

GetSenderName provides a mock function with given fields:

func (*PayloadHandler) GetSpace

func (_m *PayloadHandler) GetSpace() string

GetSpace provides a mock function with given fields:

func (*PayloadHandler) Validate

func (_m *PayloadHandler) Validate() bool

Validate provides a mock function with given fields:

Jump to

Keyboard shortcuts

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