Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorResponse ¶
func ErrorResponse(err error) *fiber.Map
ErrorResponse is the ErrorResponse that will be passed in the response by Handler
func SuccessResponse ¶
func SuccessResponse(data any) *fiber.Map
SuccessResponse is the primitive type SuccessResponse that will be passed in the response by Handler
func SuccessResponseSlice ¶
func SuccessResponseSlice(data *[]any) *fiber.Map
SuccessResponseSlice is the list SuccessResponse that will be passed in the response by Handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.