Documentation ¶
Index ¶
- func HTTPErrorHandler(err error, c echo.Context)
- func NewContext() echo.MiddlewareFunc
- type Context
- func (ctx *Context) Body() string
- func (ctx *Context) BodyGJson() (*gjson.Result, error)
- func (ctx *Context) BodyJson() ([]byte, error)
- func (ctx *Context) BodyMap() (map[string]interface{}, error)
- func (ctx *Context) JSONS(code int, json string) error
- func (ctx *Context) RequestContext() context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPErrorHandler ¶
func HTTPErrorHandler(err error, c echo.Context)
func NewContext ¶
func NewContext() echo.MiddlewareFunc
Types ¶
type Context ¶
type Context struct { echo.Context // contains filtered or unexported fields }
func (*Context) RequestContext ¶
Click to show internal directories.
Click to hide internal directories.