Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	mock.Mock
}

AuthConfig is an autogenerated mock type for the AuthConfig type

func (*AuthConfig) JWTSecret

func (_m *AuthConfig) JWTSecret() string

JWTSecret provides a mock function with given fields:

func (*AuthConfig) LoginPath

func (_m *AuthConfig) LoginPath() string

LoginPath provides a mock function with given fields:

type EchoContext

type EchoContext struct {
	mock.Mock
}

EchoContext is an autogenerated mock type for the Context type

func (*EchoContext) Attachment

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

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

func (*EchoContext) Bind

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

Bind provides a mock function with given fields: i

func (*EchoContext) Blob

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

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

func (*EchoContext) Cookie

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

Cookie provides a mock function with given fields: name

func (*EchoContext) Cookies

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

Cookies provides a mock function with given fields:

func (*EchoContext) Echo

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

Echo provides a mock function with given fields:

func (*EchoContext) Error

func (_m *EchoContext) Error(err error)

Error provides a mock function with given fields: err

func (*EchoContext) File

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

File provides a mock function with given fields: file

func (*EchoContext) FormFile

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

FormFile provides a mock function with given fields: name

func (*EchoContext) FormParams

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

FormParams provides a mock function with given fields:

func (*EchoContext) FormValue

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

FormValue provides a mock function with given fields: name

func (*EchoContext) Get

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

Get provides a mock function with given fields: key

func (*EchoContext) HTML

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

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

func (*EchoContext) HTMLBlob

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

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

func (*EchoContext) Handler

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

Handler provides a mock function with given fields:

func (*EchoContext) Inline

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

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

func (*EchoContext) IsTLS

func (_m *EchoContext) IsTLS() bool

IsTLS provides a mock function with given fields:

func (*EchoContext) IsWebSocket

func (_m *EchoContext) IsWebSocket() bool

IsWebSocket provides a mock function with given fields:

func (*EchoContext) JSON

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

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

func (*EchoContext) JSONBlob

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

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

func (*EchoContext) JSONP

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

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

func (*EchoContext) JSONPBlob

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

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

func (*EchoContext) JSONPretty

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

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

func (*EchoContext) Logger

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

Logger provides a mock function with given fields:

func (*EchoContext) MultipartForm

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

MultipartForm provides a mock function with given fields:

func (*EchoContext) NoContent

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

NoContent provides a mock function with given fields: code

func (*EchoContext) Param

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

Param provides a mock function with given fields: name

func (*EchoContext) ParamNames

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

ParamNames provides a mock function with given fields:

func (*EchoContext) ParamValues

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

ParamValues provides a mock function with given fields:

func (*EchoContext) Path

func (_m *EchoContext) Path() string

Path provides a mock function with given fields:

func (*EchoContext) QueryParam

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

QueryParam provides a mock function with given fields: name

func (*EchoContext) QueryParams

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

QueryParams provides a mock function with given fields:

func (*EchoContext) QueryString

func (_m *EchoContext) QueryString() string

QueryString provides a mock function with given fields:

func (*EchoContext) RealIP

func (_m *EchoContext) RealIP() string

RealIP provides a mock function with given fields:

func (*EchoContext) Redirect

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

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

func (*EchoContext) Render

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

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

func (*EchoContext) Request

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

Request provides a mock function with given fields:

func (*EchoContext) Reset

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

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

func (*EchoContext) Response

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

Response provides a mock function with given fields:

func (*EchoContext) Scheme

func (_m *EchoContext) Scheme() string

Scheme provides a mock function with given fields:

func (*EchoContext) Set

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

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

func (*EchoContext) SetCookie

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

SetCookie provides a mock function with given fields: cookie

func (*EchoContext) SetHandler

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

SetHandler provides a mock function with given fields: h

func (*EchoContext) SetLogger

func (_m *EchoContext) SetLogger(l echo.Logger)

SetLogger provides a mock function with given fields: l

func (*EchoContext) SetParamNames

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

SetParamNames provides a mock function with given fields: names

func (*EchoContext) SetParamValues

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

SetParamValues provides a mock function with given fields: values

func (*EchoContext) SetPath

func (_m *EchoContext) SetPath(p string)

SetPath provides a mock function with given fields: p

func (*EchoContext) SetRequest

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

SetRequest provides a mock function with given fields: r

func (*EchoContext) SetResponse

func (_m *EchoContext) SetResponse(r *echo.Response)

SetResponse provides a mock function with given fields: r

func (*EchoContext) Stream

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

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

func (*EchoContext) String

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

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

func (*EchoContext) Validate

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

Validate provides a mock function with given fields: i

func (*EchoContext) XML

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

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

func (*EchoContext) XMLBlob

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

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

func (*EchoContext) XMLPretty

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

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

type SessionStore

type SessionStore struct {
	mock.Mock
}

SessionStore is an autogenerated mock type for the Store type

func (*SessionStore) Get

func (_m *SessionStore) Get(r *http.Request, name string) (*sessions.Session, error)

Get provides a mock function with given fields: r, name

func (*SessionStore) New

func (_m *SessionStore) New(r *http.Request, name string) (*sessions.Session, error)

New provides a mock function with given fields: r, name

func (*SessionStore) Save

Save provides a mock function with given fields: r, w, s

type UnauthConfig

type UnauthConfig struct {
	mock.Mock
}

UnauthConfig is an autogenerated mock type for the UnauthConfig type

func (*UnauthConfig) JWTSecret

func (_m *UnauthConfig) JWTSecret() string

JWTSecret provides a mock function with given fields:

func (*UnauthConfig) RootPath

func (_m *UnauthConfig) RootPath() string

RootPath provides a mock function with given fields: