Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPError ¶
func ParseBody ¶
func ParseBody(ctx *fiber.Ctx, body interface{}) *fiber.Error
ParseBody is helper function for parsing the body. Is any error occurs it will panic. Its just a helper function to avoid writing if condition again n again.
func ParseBodyAndValidate ¶
func ParseBodyAndValidate(ctx *fiber.Ctx, body interface{}) *fiber.Error
ParseBodyAndValidate is helper function for parsing the body. Is any error occurs it will panic. Its just a helper function to avoid writing if condition again n again.
Types ¶
Click to show internal directories.
Click to hide internal directories.