Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { // echo.Context methods Path() string Request() *http.Request String(code int, s string) error JSON(code int, i interface{}) error NoContent(code int) error Get(key string) interface{} Set(key string, val interface{}) MultipartForm() (*multipart.Form, error) FormValue(name string) string QueryParam(name string) string Param(name string) string // custom methods GetLogger() logger.Logger SetContextLogger(log logger.Logger) Authorization() (claims jwt.MapClaims, err error) Validate(request interface{}) error ReadRequest(request interface{}) error SetAuthUser(authUser *AuthUser) GetAuthUser() *AuthUser }
Click to show internal directories.
Click to hide internal directories.