Documentation ¶
Index ¶
- func ErrorHandler(ctx *fiber.Ctx, err error) error
- func NotFoundMiddleWare(ctx *fiber.Ctx) error
- func SendDataResponse(ctx *fiber.Ctx, data interface{})
- func SendEndpointNotFoundResponse(ctx *fiber.Ctx)
- func SendInternalServerErrorReponse(ctx *fiber.Ctx, err error)
- func SendMessageResponse(ctx *fiber.Ctx, code int, message string)
- func SendResourceAlreadyExistsResponse(ctx *fiber.Ctx)
- func SendResourceNotFoundResponse(ctx *fiber.Ctx)
- func SendUnsupportedMethodResponse(ctx *fiber.Ctx)
- type Config
- type JsonResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func NotFoundMiddleWare ¶
func NotFoundMiddleWare(ctx *fiber.Ctx) error
func SendDataResponse ¶
func SendDataResponse(ctx *fiber.Ctx, data interface{})
func SendEndpointNotFoundResponse ¶
func SendEndpointNotFoundResponse(ctx *fiber.Ctx)
func SendInternalServerErrorReponse ¶
func SendInternalServerErrorReponse(ctx *fiber.Ctx, err error)
func SendMessageResponse ¶
func SendResourceAlreadyExistsResponse ¶
func SendResourceAlreadyExistsResponse(ctx *fiber.Ctx)
func SendResourceNotFoundResponse ¶
func SendResourceNotFoundResponse(ctx *fiber.Ctx)
func SendUnsupportedMethodResponse ¶
func SendUnsupportedMethodResponse(ctx *fiber.Ctx)
Types ¶
type JsonResponse ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.