Documentation ¶
Index ¶
- type HTTPError
- type MixinController
- func (*MixinController) Attachment(ctx echo.Context, file, name string) error
- func (*MixinController) BadRequestError(ctx echo.Context, err error) error
- func (ptr *MixinController) BindAndValidate(ctx echo.Context, input interface{}) error
- func (*MixinController) ConflictError(ctx echo.Context, err error) error
- func (*MixinController) Created(ctx echo.Context, data interface{}) error
- func (*MixinController) File(ctx echo.Context, file string) error
- func (*MixinController) Forbidden(ctx echo.Context) error
- func (*MixinController) ForbiddenError(ctx echo.Context, err error) error
- func (ptr *MixinController) HandleError(ctx echo.Context, err error) error
- func (*MixinController) Inline(ctx echo.Context, file, name string) error
- func (*MixinController) InternalServerError(ctx echo.Context, err error) error
- func (*MixinController) NoContent(ctx echo.Context) error
- func (*MixinController) NotFoundError(ctx echo.Context, err error) error
- func (*MixinController) OkBlob(ctx echo.Context, contentType string, data []byte) error
- func (*MixinController) OkHTML(ctx echo.Context, html string) error
- func (*MixinController) OkHTMLBlob(ctx echo.Context, html []byte) error
- func (*MixinController) OkJSON(ctx echo.Context, data interface{}) error
- func (ptr *MixinController) OkTextPlain(ctx echo.Context, data string) error
- func (*MixinController) ServiceUnavailableError(ctx echo.Context, err error) error
- func (*MixinController) Unauthorized(ctx echo.Context) error
- func (*MixinController) UnauthorizedError(ctx echo.Context, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MixinController ¶
type MixinController struct{}
func (*MixinController) Attachment ¶
func (*MixinController) Attachment(ctx echo.Context, file, name string) error
func (*MixinController) BadRequestError ¶
func (*MixinController) BadRequestError(ctx echo.Context, err error) error
func (*MixinController) BindAndValidate ¶
func (ptr *MixinController) BindAndValidate(ctx echo.Context, input interface{}) error
func (*MixinController) ConflictError ¶
func (*MixinController) ConflictError(ctx echo.Context, err error) error
func (*MixinController) Created ¶
func (*MixinController) Created(ctx echo.Context, data interface{}) error
func (*MixinController) File ¶
func (*MixinController) File(ctx echo.Context, file string) error
func (*MixinController) Forbidden ¶
func (*MixinController) Forbidden(ctx echo.Context) error
func (*MixinController) ForbiddenError ¶
func (*MixinController) ForbiddenError(ctx echo.Context, err error) error
func (*MixinController) HandleError ¶
func (ptr *MixinController) HandleError(ctx echo.Context, err error) error
func (*MixinController) Inline ¶
func (*MixinController) Inline(ctx echo.Context, file, name string) error
func (*MixinController) InternalServerError ¶
func (*MixinController) InternalServerError(ctx echo.Context, err error) error
func (*MixinController) NoContent ¶
func (*MixinController) NoContent(ctx echo.Context) error
func (*MixinController) NotFoundError ¶
func (*MixinController) NotFoundError(ctx echo.Context, err error) error
func (*MixinController) OkBlob ¶
func (*MixinController) OkBlob(ctx echo.Context, contentType string, data []byte) error
func (*MixinController) OkHTML ¶
func (*MixinController) OkHTML(ctx echo.Context, html string) error
func (*MixinController) OkHTMLBlob ¶
func (*MixinController) OkHTMLBlob(ctx echo.Context, html []byte) error
func (*MixinController) OkJSON ¶
func (*MixinController) OkJSON(ctx echo.Context, data interface{}) error
func (*MixinController) OkTextPlain ¶
func (ptr *MixinController) OkTextPlain(ctx echo.Context, data string) error
func (*MixinController) ServiceUnavailableError ¶
func (*MixinController) ServiceUnavailableError(ctx echo.Context, err error) error
func (*MixinController) Unauthorized ¶
func (*MixinController) Unauthorized(ctx echo.Context) error
func (*MixinController) UnauthorizedError ¶
func (*MixinController) UnauthorizedError(ctx echo.Context, err error) error
Click to show internal directories.
Click to hide internal directories.