Documentation ¶
Index ¶
- func BadRequest(c *fiber.Ctx, err error)
- func BadRequestErrors(c *fiber.Ctx, errors []map[string]string)
- func Created(c *fiber.Ctx, data interface{})
- func InternalServerError(c *fiber.Ctx, err error)
- func NoContent(c *fiber.Ctx)
- func Ok(c *fiber.Ctx, data interface{})
- type ErrorResponse
- type SuccessOkResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequest(c *fiber.Ctx, err error)
func BadRequestErrors ¶
func InternalServerError ¶
func InternalServerError(c *fiber.Ctx, err error)
Types ¶
type ErrorResponse ¶
type SuccessOkResponse ¶
Click to show internal directories.
Click to hide internal directories.