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