Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(c *fiber.Ctx, options ...r.AppErrorOption) error
Error return fiber framework json response with standard error response as the structure.
func ErrorCode ¶
func ErrorCode(c *fiber.Ctx, code int, options ...r.AppErrorOption) error
ErrorCode return fiber framework json response with standard error response as the structure and use given code as response status code.
func Success ¶
func Success(c *fiber.Ctx, options ...r.AppSuccessOption) error
Success return json response with standard success response as the structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.