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 ¶
- type Commander
- type Context
- func (_m *Context) Attachment(file string, name string) error
- func (_m *Context) Bind(i interface{}) error
- func (_m *Context) Blob(code int, contentType string, b []byte) error
- func (_m *Context) Cookie(name string) (*http.Cookie, error)
- func (_m *Context) Cookies() []*http.Cookie
- func (_m *Context) Echo() *echo.Echo
- func (_m *Context) Error(err error)
- func (_m *Context) File(file string) error
- func (_m *Context) FormFile(name string) (*multipart.FileHeader, error)
- func (_m *Context) FormParams() (url.Values, error)
- func (_m *Context) FormValue(name string) string
- func (_m *Context) Get(key string) interface{}
- func (_m *Context) HTML(code int, html string) error
- func (_m *Context) HTMLBlob(code int, b []byte) error
- func (_m *Context) Handler() echo.HandlerFunc
- func (_m *Context) Inline(file string, name string) error
- func (_m *Context) IsTLS() bool
- func (_m *Context) IsWebSocket() bool
- func (_m *Context) JSON(code int, i interface{}) error
- func (_m *Context) JSONBlob(code int, b []byte) error
- func (_m *Context) JSONP(code int, callback string, i interface{}) error
- func (_m *Context) JSONPBlob(code int, callback string, b []byte) error
- func (_m *Context) JSONPretty(code int, i interface{}, indent string) error
- func (_m *Context) Logger() echo.Logger
- func (_m *Context) MultipartForm() (*multipart.Form, error)
- func (_m *Context) NoContent(code int) error
- func (_m *Context) Param(name string) string
- func (_m *Context) ParamNames() []string
- func (_m *Context) ParamValues() []string
- func (_m *Context) Path() string
- func (_m *Context) QueryParam(name string) string
- func (_m *Context) QueryParams() url.Values
- func (_m *Context) QueryString() string
- func (_m *Context) RealIP() string
- func (_m *Context) Redirect(code int, _a1 string) error
- func (_m *Context) Render(code int, name string, data interface{}) error
- func (_m *Context) Request() *http.Request
- func (_m *Context) Reset(r *http.Request, w http.ResponseWriter)
- func (_m *Context) Response() *echo.Response
- func (_m *Context) Scheme() string
- func (_m *Context) Set(key string, val interface{})
- func (_m *Context) SetCookie(cookie *http.Cookie)
- func (_m *Context) SetHandler(h echo.HandlerFunc)
- func (_m *Context) SetParamNames(names ...string)
- func (_m *Context) SetParamValues(values ...string)
- func (_m *Context) SetPath(p string)
- func (_m *Context) SetRequest(r *http.Request)
- func (_m *Context) Stream(code int, contentType string, r io.Reader) error
- func (_m *Context) String(code int, s string) error
- func (_m *Context) Validate(i interface{}) error
- func (_m *Context) XML(code int, i interface{}) error
- func (_m *Context) XMLBlob(code int, b []byte) error
- func (_m *Context) XMLPretty(code int, i interface{}, indent string) error
- type PayloadHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commander ¶
Commander is an autogenerated mock type for the Commander type
func (*Commander) GetCatagory ¶
GetCatagory provides a mock function with given fields:
func (*Commander) MatchCommand ¶
MatchCommand provides a mock function with given fields: _a0
type Context ¶
Context is an autogenerated mock type for the Context type
func (*Context) Attachment ¶
Attachment provides a mock function with given fields: file, name
func (*Context) FormFile ¶
func (_m *Context) FormFile(name string) (*multipart.FileHeader, error)
FormFile provides a mock function with given fields: name
func (*Context) FormParams ¶
FormParams provides a mock function with given fields:
func (*Context) Handler ¶
func (_m *Context) Handler() echo.HandlerFunc
Handler provides a mock function with given fields:
func (*Context) IsWebSocket ¶
IsWebSocket provides a mock function with given fields:
func (*Context) JSONPretty ¶
JSONPretty provides a mock function with given fields: code, i, indent
func (*Context) MultipartForm ¶
MultipartForm provides a mock function with given fields:
func (*Context) ParamNames ¶
ParamNames provides a mock function with given fields:
func (*Context) ParamValues ¶
ParamValues provides a mock function with given fields:
func (*Context) QueryParam ¶
QueryParam provides a mock function with given fields: name
func (*Context) QueryParams ¶
QueryParams provides a mock function with given fields:
func (*Context) QueryString ¶
QueryString 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) SetHandler ¶
func (_m *Context) SetHandler(h echo.HandlerFunc)
SetHandler provides a mock function with given fields: h
func (*Context) SetParamNames ¶
SetParamNames provides a mock function with given fields: names
func (*Context) SetParamValues ¶
SetParamValues provides a mock function with given fields: values
func (*Context) SetRequest ¶
SetRequest provides a mock function with given fields: r
type PayloadHandler ¶
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: